1

I have developed an angular project using yeoman, grunt and bower. I wanted to know that the ajax calls and other URLs I am fetching have the address of the backend development server which runs on a local machine.

How do I change all the URLs and addresses which now are located on the production server? And do I change all the relative Url paths?

I am using grunt build. Thank you.

1 Answer 1

1

I created a war file of the angularjs app. When you deploy the war file on the application server, the IP and port of the server along with the name of the war becomes the base URL of the application. Within the project, all the paths are defined relatively in the state provider with respect to the base URL.

Sign up to request clarification or add additional context in comments.

Comments

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.