unoplatform / Uno.Wasm.Bootstrap

A simple nuget package to run C# code in a WASM-compatible browser
Other
360 stars 56 forks source link

ServiceWorker is not available when the app is not at the root #662

Open jeromelaban opened 1 year ago

jeromelaban commented 1 year ago

Hi @jeromelaban, I tried dev-77 and after manually removing the "invalid file" I'm in the same situation:

compiled without <WasmShellWebAppBasePath>/scewo/figma/</WasmShellWebAppBasePath> works on chrome: https://www.immo-electronics.ch/

compiled with /scewo/figma/ does not work (same installation error): https://www.immo-electronics.ch/scewo/figma/

compiled with ./scewo/figma2/ does not (app doesn't even load due to 404 on basically all JS) : I also tried https://www.immo-electronics.ch/scewo/figma2/

Interestingly, on Firefox none of the above works

Originally posted by @igiona in https://github.com/unoplatform/Uno.Wasm.Bootstrap/issues/659#issuecomment-1381429530

DierkDroth commented 1 year ago

@jeromelaban sorry, I needed to follow up here since I'll have to setup a game plan to make my app a PWA:

I would appreciate your feedback so I could weigh my options. Thanks in advance