mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
3d8e6a0317
When I use file-server like this ``` v1 := app.Party("/aa/bb") v1.HandleDir(/static, "./assets", iris.DirOptions{ IndexName: "/index.html", Gzip: false, ShowList: false, }) ``` and I request `http://localhost:8080/aa/bb/static` or `http://localhost:8080/aa/bb/cc/static/index.html`, it will be 404 NOT FOUND. Because the modified line will create a route `/aa/bb/aa/bb/static` which expected `/aa/bb/static` Thanks for your consideration. Former-commit-id: cb680a5f8c103e8c14986e1b64505f7faff6326d |
||
---|---|---|
.. | ||
api_builder_benchmark_test.go | ||
api_builder.go | ||
fs.go | ||
handler_execution_rules_test.go | ||
handler_execution_rules.go | ||
handler.go | ||
mime.go | ||
party.go | ||
path_test.go | ||
path.go | ||
route_test.go | ||
route.go | ||
router_handlers_order_test.go | ||
router_subdomain_redirect_wrapper.go | ||
router_test.go | ||
router_wildcard_root_test.go | ||
router.go | ||
status_test.go | ||
status.go | ||
trie.go |