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

404 Error on --prod build #98

Open
goodluckgod opened this issue Jul 15, 2021 · 2 comments
Open

404 Error on --prod build #98

goodluckgod opened this issue Jul 15, 2021 · 2 comments

Comments

@goodluckgod
Copy link

goodluckgod commented Jul 15, 2021

I getting 404 error if i refresh the player page on production build.

@przbetkier
Copy link
Owner

For local development I do not recommend using production build, but using commands mentioned in readme:

npm install
ng build
ng serve

However if you really want using prod build - the only difference between dev and prod builds is configuration of backend endpoint:
https://github.com/przbetkier/tuscan-frontend/tree/master/src/environments

@goodluckgod
Copy link
Author

I need run it on plesk server with another domains on server, i can't serve it on 80 port. What can i do?

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

2 participants