mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
0dff1b8fe9
* feat: support `server` option in `nuxt.config.js` to set PORT and HOST * lint * change the conifg priority to `argv > nuxt.config.js > env.NUXT_PORT > env.PORT > package.json > default` * check for `options.server`
7 lines
71 B
JavaScript
7 lines
71 B
JavaScript
export default {
|
|
server: {
|
|
port: 8000,
|
|
host: '0.0.0.0'
|
|
}
|
|
}
|