I have an issue with the Pprod
profile. I have created two pages: index.html
and profile.html
When I run the project with production profile then the index page is working fine for me. I.e. it converts all CSS
, JS
and replaces all HTML
with the new URL.
If I replace profile.html
with index.html
then again it is all working fine for me. I.e. it converts all CSS
, JS
and replaces all HTML
with the new URL.
But, if I run both pages simultaneously, then only index.html
is working fine for me and profile.html
is not.
On profile.html
page HTML, the URL is not changed with script.js
and main.css
file.
Failed to load resource: the server responded with a status of 404 (Not Found) abc.com/styles/postLogin.css
Failed to load resource: the server responded with a status of 404 (Not Found) abc.com/scripts/profile.js
Failed to load resource: the server responded with a status of 404 (Not Found) abc.com/scripts/main.js
Failed to load resource: the server responded with a status of 404 (Not Found) abc.com/scripts/profile/app/app.js
Failed to load resource: the server responded with a status of 404 (Not Found) abc.com/scripts/profile/directive/profile-directive.js
Failed to load resource: the server responded with a status of 404 (Not Found) abc.com/scripts/profile/controller/profile-controller.js
Failed to load resource: the server responded with a status of 404 (Not Found) abc.com/scripts/profile/service/profile-service.js
Any ideas? Thanks in advance.