How to set --hostname for /api/source
Opened this issue · 1 comments
menteora commented
Hi, I'm testing last version of nuxt & nuxtpress
"dependencies": {
"@nuxt/press": "0.0.1-beta.4",
"@nuxtjs/pwa": "^3.0.0-0",
"nuxt": "^2.0.0"
},
I'm working on linux container. Here is my working config:
"scripts": {
"dev": "nuxt --hostname 0.0.0.0",
"build": "nuxt build",
"start": "nuxt start --hostname 0.0.0.0",
"generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --fix --ignore-path .gitignore ."
},
I must run my application over --hostname 0.0.0.0
When i run npm run dev here is my error:
When i run npm run build & npm run build start here is my error:
There's a way to run /api/source over the same host of local nuxt application?
Thanks