0

I am building a new ng app ng build --prod --base-href=XXXX after success and deployment on live server XXXX is shown twice in url like abc.com/XXXX/XXXX and on refresh it throw 404 not found error. How can i fix this issue?

1 Answer 1

1

Try this command:

ng build --prod --base-href="/XXXX/"
Sign up to request clarification or add additional context in comments.

1 Comment

its didn't worked for us and its always only the firstime when we open the web app

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.