Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.

Server settings for production #7

Open
tvld opened this issue Apr 6, 2020 · 0 comments
Open

Server settings for production #7

tvld opened this issue Apr 6, 2020 · 0 comments

Comments

@tvld
Copy link

tvld commented Apr 6, 2020

It took me some time to figure out that in production, so after npm run build and npm start, the server settings are wrong. In ~/server/config/production.json there is :

{
  "host": "with-featherjs-app.feathersjs.com",
  "port": 80
}

as I run docker, for me the default of nuxt is fine, so I now use:

{
  "host": "localhost",
  "port": 3000
}

I would have expected the documentation more clear that you need to change that file...?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant