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 |
||
---|---|---|
.. | ||
errgroup | ||
handlerconv | ||
host | ||
memstore | ||
netutil | ||
router |