Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular 404 on refresh

Use HashLocation strategy.
Add to top level module
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}],
 
PREVIOUS NEXT
Tagged: #angular #refresh
ADD COMMENT
Topic
Name
2+8 =