path does not match
kangdy opened this issue · comments
@kangdy what're your vite.base
and pwa plugin scope
and base
options?
@kangdy what're your
vite.base
and pwa pluginscope
andbase
options?
@kangdy what're your
vite.base
and pwa pluginscope
andbase
options?
My project static resources are deployed in another domain name, such as:
Static assets: assets.sankuai.com. Project access address http://wanxiang.data.st.sankuai.com/vinci/#/ or http://wanxiang.data.st.sankuai.com/udf/#/. Nginx will forward static resources, thank you.
@kangdy try adding on plugin base: 'http://wanxiang.data.st.sankuai.com/vinci/#/
and scope: '/vinci/#/'
, you also need to switch to https
, the pwa will not work using http
Use https instead http on the plugin base option
@kangdy Review you nginx configuration, you should add the mime mapping for the manifest.webmanifest file, check the docs entry about nginx
@kangdy feel free to open a new issue if the problem persists