This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
Slinkity asset contains url encoded slashes which prevent loading #240
Labels
🐞 bug
Something isn't working
Thank you for slinkity. I've been enjoying it's features.
Describe the bug
I've got a slinkity site with a Svelte renderer and I'm having trouble with the js asset file named
http://localhost:8080/assets/_slinkity_props_inputPath_.%2F_website%2Fbird-pages.e3cc352d.js
Said file 404's after I build and serve my site.
I can see that the file was properly rendered as js. It definitely exists in my _site/assets/folder, but for whatever reason, my browser cannot load it. I'm guessing it's the period and url encoded forward slashes, but I'm not sure.
To Reproduce
I've got a huge monorepo site where I first saw the issue. Instead of sharing that, I've created a minimum repo which reproduce and illustrates the issue.
https://github.com/insanity54/bird-site
cloning the repo, then running
pnpm i
andpnpm run serve
should be enough to get the site up and running. The problem exists on any of the bird pages. The bird sighting counter is not operatable when the_slinkity_props_inputPath_.%2F_website%2Fbird-pages.e3cc352d.js
file 404's.The issue is not present when running eleventy dev server. The issue is only present in the built site.
Expected behavior
_slinkity_props_inputPath_.%2F_website%2Fbird-pages.e3cc352d.js
should load (Status code 200)Screenshots
(please complete the following information):
and Firefox 110.0.1 (64-bit)
The text was updated successfully, but these errors were encountered: