-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Bug Description
While static files are served correctly and static root displays file tree view as expected, static subpaths are not displaying file trees - they are redirecting to invalid relative URLs.
How to Reproduce
Mopsgamer/gofiber-static-browse-repro - everything you need.
git clone https://github.com/Mopsgamer/gofiber-static-browse-repro.git
cd gofiber-static-browse-repro
go run app-repro.go
-
Open
localhost:3000/static
. -
Click
js
. Expect seeing file tree with "index.js" file.
Expected Behavior
Clicking js
on the /static
page should open /static/js
route, which shows "index.js".
Unfortunately, it redirects to /js/
.
Fiber Version
v3.0.0-beta.5
Code Snippet (optional)
Checklist:
- I agree to follow Fiber's Code of Conduct.
- I have checked for existing issues that describe my problem prior to opening this one.
- I understand that improperly formatted bug reports may be closed without explanation.
Copilot