mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-02-06 14:42:40 +00:00
chore: comment out NODE_ENV in Dockerfile and remove console log from header component
This commit is contained in:
@@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/src/.next/cache \
|
|||||||
|
|
||||||
FROM gcr.io/distroless/nodejs22-debian12
|
FROM gcr.io/distroless/nodejs22-debian12
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
# ENV NODE_ENV=production
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
|
|
||||||
COPY --chown=nonroot:nonroot ./public ./public
|
COPY --chown=nonroot:nonroot ./public ./public
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ const Header: React.FC = async () => {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
console.log(data);
|
|
||||||
const avatarURL = `https://cdn.discordapp.com/avatars/739702692393517076/${data.avatar}.png?size=1024`;
|
const avatarURL = `https://cdn.discordapp.com/avatars/739702692393517076/${data.avatar}.png?size=1024`;
|
||||||
return (
|
return (
|
||||||
<header className="flex h-screen w-screen items-center justify-center">
|
<header className="flex h-screen w-screen items-center justify-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user