iris/core
TangDandan 3d8e6a0317 Modify core/router/api_builder.go
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
2019-11-13 15:55:47 +08:00
..
errgroup Upgrade to new go errors and some minor fixes and improvements including easier debugging of invalid routes and e.t.c. 2019-10-24 18:57:05 +03:00
handlerconv obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository 2019-10-25 01:27:02 +03:00
host obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository 2019-10-25 01:27:02 +03:00
memstore Upgrade to new go errors and some minor fixes and improvements including easier debugging of invalid routes and e.t.c. 2019-10-24 18:57:05 +03:00
netutil Upgrade to new go errors and some minor fixes and improvements including easier debugging of invalid routes and e.t.c. 2019-10-24 18:57:05 +03:00
router Modify core/router/api_builder.go 2019-11-13 15:55:47 +08:00