kord icon indicating copy to clipboard operation
kord copied to clipboard

PWA not available due to failing to load manifest.json

Open Khaoz-Topsy opened this issue 4 years ago • 2 comments

Just started trying out your app, Its great! I wanted to "install" your app as desktop app, however the option isn't available. I see that the service worker that is packaged with the Create React App exists sw.js, but the manifest.json is missing.

Looking a bit deeper I see that you do have a manifest.json and the file loads correctly on the landing page. But when using the player it does not load the manifest.json. It may be something with being in the /app directory and/or some url rewrite rules in express 🤔

Khaoz-Topsy avatar Jan 04 '21 06:01 Khaoz-Topsy

@Khaoz-Topsy Thanks for reporting this issue. Yeah I see that manifest.json is hosted at /app/manifest.json but my manifest "start_url" is set to /app/library which doesn't make sense since the entire app is hosted at /app.

I think this may be the problem but I'm not entirely sure.

bundit avatar Jan 05 '21 03:01 bundit

c18ab3d6491a77e16b46e611fedd1b60458d927b Allows "installation" from the landing page which will redirect to /app/library. Still having trouble getting the manifest to load correctly from /app but this will do for now

bundit avatar Jan 10 '21 02:01 bundit