问题
I am Using Angular Universal project. In that i have configured fully dynamic routing like below.
{ path: ':locale', component: HomePageCategory },
{ path: ':locale/:id', component: HomePageCategory },
Now i have added PWA so manifest reference was added in html file like below.
<link rel="manifest" href="./manifest.webmanifest">
issue raised like below
1. Failed to load resource: the server responded with a status of 404 (Not Found)
2. Manifest: Line: 1, column: 1, Unexpected token.
can you please suggest to resolve this issue.
While loading page manifest was not fetched, due to routing configurations.
来源:https://stackoverflow.com/questions/56559962/external-file-loading-reference-loading-issue-due-to-dynamic-routing-in-angular