Forum Discussion
aqibafzal1000
Jul 20, 2020Copper Contributor
angular SPA 404 error on refresh
Hello,
I have created angular 2 app and deployed it to content editor webpart. Refresh page gives me 404 error on company tenant but on my personal tenant it works fine.
I have already updated app.module.ts with
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
&
providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}]
and it did not work.
any other suggestions please.
Thanks very much for your help.
1 Reply
Sort By
- aqibafzal1000Copper Contributor
@anyone any idea???