Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 84110e2

Browse files
178inabaclarkdo
authored andcommitted
fix: initial value of Express host and port (#202)
1 parent 184298e commit 84110e2

File tree

1 file changed

+1
-4
lines changed
  • template/frameworks/express/server

1 file changed

+1
-4
lines changed

template/frameworks/express/server/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ async function start() {
1111
// Init Nuxt.js
1212
const nuxt = new Nuxt(config)
1313

14-
const {
15-
host = process.env.HOST || '127.0.0.1',
16-
port = process.env.PORT || 3000
17-
} = nuxt.options.server
14+
const { host, port } = nuxt.options.server
1815

1916
// Build only in dev mode
2017
if (config.dev) {

0 commit comments

Comments
 (0)