mirror of
https://github.com/kataras/iris.git
synced 2026-01-04 02:37:14 +00:00
untested solution for https://github.com/kataras/iris/issues/717 , waiting for respond before push the minor version
Former-commit-id: 6c7f36dde24f36f513b4a6f939a6d52c18c6c8ed
This commit is contained in:
@@ -117,7 +117,7 @@ type Party interface {
|
||||
// mySubdomainFsServer.Get("/static", h)
|
||||
// ...
|
||||
//
|
||||
StaticHandler(systemPath string, showList bool, enableGzip bool) context.Handler
|
||||
StaticHandler(systemPath string, showList bool, gzip bool) context.Handler
|
||||
|
||||
// StaticServe serves a directory as web resource
|
||||
// it's the simpliest form of the Static* functions
|
||||
@@ -172,7 +172,7 @@ type Party interface {
|
||||
// ending in "/index.html" to the same path, without the final
|
||||
// "index.html".
|
||||
//
|
||||
// StaticWeb calls the StaticHandler(systemPath, listingDirectories: false, gzip: false ).
|
||||
// StaticWeb calls the `StripPrefix(fullpath, NewStaticHandlerBuilder(systemPath).Listing(false).Build())`.
|
||||
//
|
||||
// Returns the GET *Route.
|
||||
StaticWeb(requestPath string, systemPath string) *Route
|
||||
|
||||
Reference in New Issue
Block a user