Fix paths

This commit is contained in:
2026-03-20 14:23:11 +01:00
parent e70015692e
commit d45448a662
14 changed files with 2 additions and 2 deletions

View File

@@ -43,9 +43,9 @@ func main() {
"humanSize": util.HumanSize, "humanSize": util.HumanSize,
}) })
r.LoadHTMLGlob("internal/templates/*.html") r.LoadHTMLGlob("templates/*.html")
//r.LoadHTMLGlob("internal/templates/new/*.html") //r.LoadHTMLGlob("internal/templates/new/*.html")
r.Static("/static", "./internal/static") r.Static("/static", "/static")
r.GET("/ping", func(c *gin.Context) { r.GET("/ping", func(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{ c.JSON(http.StatusOK, gin.H{

View File

Before

Width:  |  Height:  |  Size: 361 KiB

After

Width:  |  Height:  |  Size: 361 KiB

View File

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB