swap lcoal function
This commit is contained in:
1 parent
8c24068b20
commit
bf203aa38c
1 file changed
+1
-1
@@ -715,7 +715,7 @@ type fileHandler struct {
|
|||||||
// As a special case, the returned file server redirects any request
|
// As a special case, the returned file server redirects any request
|
||||||
// ending in "/index.html" to the same path, without the final
|
// ending in "/index.html" to the same path, without the final
|
||||||
// "index.html".
|
// "index.html".
|
||||||
func FileServer(root http.FileSystem) http.Handler {
|
func FileServer(root FileSystem) http.Handler {
|
||||||
return &fileHandler{root}
|
return &fileHandler{root}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user