1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

update some examples

Former-commit-id: 2ed7c323dd379eb68d5ccb2044cd9cc772ce0b08
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-05 22:03:01 +03:00
parent c10dd32ad7
commit cc19f80049
14 changed files with 20 additions and 19 deletions

View File

@@ -36,7 +36,7 @@ func newApp() *iris.Application {
// You can also register any index handler manually, order of registration does not matter:
// v1.Get("/static", [...custom middleware...], func(ctx iris.Context) {
// [...custom code...]
// ctx.ServeFile("./assets/index.html", false)
// ctx.ServeFile("./assets/index.html")
// })
// http://localhost:8080/v1/static