mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 02:07:14 +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'
|
|
}
|
|
}
|