I have a web service running in springboot on port 8080. when I hit below url it works fine:
http://localhost:8080/app , i redirect the url to below:
http://localhost:8080/myHome/home
now when i refresh the page I am getting 404
below is the content of my index.html:
<base href="/myHome">
package.json:
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.conf.json",
"build": "ng build --dev --deploy-url=\"/app/\"",
"test": "ng test",
"lint": "ng lint",
"e2e": "protractor"
},
I had tried using LocationStrategy mentioned in
Angular 2: 404 error occur when I refresh through the browser , but its not working for me.