remove test

This commit is contained in:
shoopea 2024-11-17 19:21:17 +01:00
parent b83b0e8c4f
commit 3bd57a4e98
2 changed files with 18 additions and 19 deletions

View File

@ -3,7 +3,6 @@ package main
import (
"context"
"embed"
"fmt"
"html/template"
"io/fs"
"net/http"
@ -125,7 +124,7 @@ func (a *AdminConfig) Run() {
})
}
})
/*
r.GET("/test", func(c *gin.Context) {
res := make(map[string]string)
for k, v := range cfg.box {
@ -140,7 +139,7 @@ func (a *AdminConfig) Run() {
"message": res,
})
})
*/
fsys, _ := fs.Sub(assets, "assets/static")
r.StaticFS("/assets", http.FS(fsys))

View File

@ -1,7 +1,7 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "6ed3897"
var githash = "b83b0e8"
var branch = "master"
var buildstamp = "2024-11-17_17:48:44"
var commits = "103"
var version = "6ed3897-b103 - 2024-11-17_17:48:44"
var buildstamp = "2024-11-17_17:56:49"
var commits = "104"
var version = "b83b0e8-b104 - 2024-11-17_17:56:49"