Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Нужно добавить флаг -H для json-server #1

Open
nikitafloy opened this issue Dec 7, 2022 · 0 comments
Open

Нужно добавить флаг -H для json-server #1

nikitafloy opened this issue Dec 7, 2022 · 0 comments

Comments

@nikitafloy
Copy link

В production json-server не работает с localhost, нужно указать ip;
{ "server": "json-server -w server/db.json -H 5.44.41.26 -p 3001", }

https://github.com/kam1kazy/Create-Campony/blob/594d94ec7bc58b22b0bc0eb4e2e0a107c8e9e08f/package.json#L45

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

No branches or pull requests

1 participant