Skip to content

Commit

Permalink
Fix or
Browse files Browse the repository at this point in the history
  • Loading branch information
TaEduard committed Nov 6, 2023
1 parent db4b732 commit d2e56a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { parse } = require('url')
const next = require('next')

const dev = process.env.NODE_ENV !== 'production'
const hostname = process.env.RANCHER_SERVER |'localhost'
const hostname = process.env.RANCHER_SERVER ||'localhost'
const port = 3000
// when using middleware `hostname` and `port` must be provided below
const app = next({ dev, hostname, port })
Expand Down

0 comments on commit d2e56a3

Please sign in to comment.