Skip to content

Commit

Permalink
fixup! Support manually setting hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikhorluck committed Feb 28, 2024
1 parent 5a54f7b commit 30ba550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = withBundleAnalyzer(
return config;
},
env: {
HOSTNAME: process.env.OWF_HOSTNAME ?? process.env.NEXT_PUBLIC_URL ?? process.env.NEXT_PUBLIC_VERCEL_URL ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}` : "https://localhost:8080",
HOSTNAME: process.env.OWF_HOSTNAME ?? (process.env.NEXT_PUBLIC_URL ?? (process.env.NEXT_PUBLIC_VERCEL_URL ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}` : "https://localhost:8080")),
OW4_ADDRESS: process.env.OW4_ADDRESS || 'https://old.online.ntnu.no',
AUTH0_CLIENT_ID: process.env.AUTH0_CLIENT_ID || '',
OWF_SENTRY_DSN: process.env.OWF_SENTRY_DSN || '',
Expand Down

0 comments on commit 30ba550

Please sign in to comment.