I’m using glitch to test out my fork of this love.js standalone player, but whenever I try to load a .love file I always get a 404 error message (Screenshot below). I’ve tried to reupload the .love file but the 404 persists.
Hi @Asterisk - so I’m not familiar with love.js but because you set your frontend to the Glitch CDN url but it’s 404’ing on a URL of that asset as if it were in the root of your app, I’m wondering if the library is not compatible for linking to assets outside the root app folder. I tried the following:
remixed your app
opened the terminal and ran wget https://cdn.glitch.global/1f480c03-f9b4-4a58-8e89-3a0d4b52e6a4/STACKR-X.love?v=1682010854412
ran refresh so the file list in the sidebar would sync
updated line 7 so that it had `var Frontend = “STACKR-X.love?v=1682010854412” as that is the file name that showed in the sidebar.
This still didn’t work so I renamed “STACKR-X.love?v=1682010854412” to just “STACKR-X.love” (removing that cacheing parameter, and then it worked!
Again, I’m not sure why it works that way but it does. Hope this helps!