External file loading reference loading issue due to dynamic routing in angular?

↘锁芯ラ 提交于 2019-12-24 20:52:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!