vendor update

This commit is contained in:
kaedwen committed 2024-06-08 13:10:37 +02:00
1 parent 94d02d8466
commit c145142a42
864 files changed
+197887 -76437

No files matched your search

+3
View File
@@ -103,5 +103,8 @@
}
}
}
},
"cli": {
"analytics": "ef0076dd-aa83-4841-9cf2-44ff71ec36f6"
}
}
+1 -1
View File
@@ -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")