beefy
beefy copied to clipboard
Serving folders with index.html breaks if you don't add "/" at the end
I was banging my head around this issue for quite a while. If you serve some /folder with beefy (which has an index.html) and load it as localhost:9966/folder, the asset references inside will be recognized as relative to localhost:9966, not localhost:9966/folder. If you load the page as localhost:9966/folder/, it will work fine. Beefy needs to handle folders regardless of the slash at the end.
Any comments?
I'll add a test to the beefy2 branch. Thanks for the report, sorry for the long delay in response!