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

minor README changes

Former-commit-id: becf1864dfbb24409f51122eaee5b1e2b979a20b
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-11-05 22:12:26 +02:00
parent 42e752b3f5
commit a42f914ce8
3 changed files with 11 additions and 8 deletions

View File

@@ -383,8 +383,8 @@ var (
// Usage:
// fileserver := iris.FileServer("./static_files", DirOptions {...})
// h := iris.StripPrefix("/static", fileserver)
// app.Get("/static/{f:path}", h)
// app.Head("/static/{f:path}", h)
// app.Get("/static/{file:path}", h)
// app.Head("/static/{file:path}", h)
StripPrefix = router.StripPrefix
// Gzip is a middleware which enables writing
// using gzip compression, if client supports.