Skip to content

Commit

Permalink
fix use 0.0.0.0 hostname for custom next server
Browse files Browse the repository at this point in the history
  • Loading branch information
jstcki committed Sep 15, 2023
1 parent 131a9f6 commit 0185cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/server/index.js
Expand Up @@ -28,7 +28,7 @@ if (!NEXT_PUBLIC_BASE_URL) {
const app = next({
dev: DEV,
port: PORT,
hostname: new URL(NEXT_PUBLIC_BASE_URL).hostname,
hostname: '0.0.0.0',
})

const handler = app.getRequestHandler()
Expand Down

0 comments on commit 0185cb6

Please sign in to comment.