vendor update
This commit is contained in:
1 parent
94d02d8466
commit
c145142a42
864 files changed
+197887
-76437
No files matched your search
@@ -103,5 +103,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cli": {
|
||||
"analytics": "ef0076dd-aa83-4841-9cf2-44ff71ec36f6"
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -40,7 +40,7 @@ func (s staticDiskSource) Open(p string) (common.StaticSourceFile, error) {
|
||||
|
||||
func SetupHandler(e *gin.Engine, cfg *common.Config) {
|
||||
if cfg.Http.StaticPath != nil {
|
||||
handler := common.NewStaticHandler(staticDiskSource{*cfg.Http.StaticPath}, "index.html")
|
||||
handler := common.NewStaticHandler(staticDiskSource{cfg.Http.StaticPath.String()}, "index.html")
|
||||
e.NoRoute(func(c *gin.Context) {
|
||||
encoding := c.Request.Header.Get("Accept-Encoding")
|
||||
|
||||
|
||||
Reference in new issue
Block a user