debug
This commit is contained in:
parent
75bcf35ace
commit
f4274d87e7
@ -43,9 +43,6 @@ RUN adduser --system --uid 1001 nextjs
|
|||||||
|
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
|
|
||||||
# Allow the server to see the environment variables
|
|
||||||
COPY --from=builder .env.pruduction /app/.env.pruduction
|
|
||||||
|
|
||||||
# Automatically leverage output traces to reduce image size
|
# Automatically leverage output traces to reduce image size
|
||||||
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||||
|
@ -10,6 +10,7 @@ export default class Utils {
|
|||||||
* @returns The website type's information.
|
* @returns The website type's information.
|
||||||
*/
|
*/
|
||||||
static getWebsiteApi(website) {
|
static getWebsiteApi(website) {
|
||||||
|
console.log(process.env);
|
||||||
return LeaderboardType[website];
|
return LeaderboardType[website];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user