Assets not loading without trailing slash
My website directory structure: / index.html projects project1 index.html styles.css script.js And in this case when I go to "https://name.vercel.app/projects/project1" without a trailing slash at the end, the HTML loads but not the css and js files so the page is all messed up. But when I add a trailing slash like "projects/project1/" then it works fine. As I checked resources tab, I see it's trying to link the files from projects/styles.css instead of projects/project1/styles.css so the browser is probably misinterpreting project1 as a file instead of a folder. I'm using Vercel which has redirects/rewrites. Is there a way to make it work properly without trailing slash without using: redirects/rewrites or absolute paths for linking the script/stylesheet files?