Fix paths
This commit is contained in:
@@ -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{
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 361 KiB |
|
Before Width: | Height: | Size: 261 KiB After Width: | Height: | Size: 261 KiB |
Reference in New Issue
Block a user