remove test
This commit is contained in:
parent
b83b0e8c4f
commit
3bd57a4e98
5
admin.go
5
admin.go
@ -3,7 +3,6 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"embed"
|
"embed"
|
||||||
"fmt"
|
|
||||||
"html/template"
|
"html/template"
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"net/http"
|
"net/http"
|
||||||
@ -125,7 +124,7 @@ func (a *AdminConfig) Run() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
/*
|
||||||
r.GET("/test", func(c *gin.Context) {
|
r.GET("/test", func(c *gin.Context) {
|
||||||
res := make(map[string]string)
|
res := make(map[string]string)
|
||||||
for k, v := range cfg.box {
|
for k, v := range cfg.box {
|
||||||
@ -140,7 +139,7 @@ func (a *AdminConfig) Run() {
|
|||||||
"message": res,
|
"message": res,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
*/
|
||||||
fsys, _ := fs.Sub(assets, "assets/static")
|
fsys, _ := fs.Sub(assets, "assets/static")
|
||||||
r.StaticFS("/assets", http.FS(fsys))
|
r.StaticFS("/assets", http.FS(fsys))
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||||
package main
|
package main
|
||||||
var githash = "6ed3897"
|
var githash = "b83b0e8"
|
||||||
var branch = "master"
|
var branch = "master"
|
||||||
var buildstamp = "2024-11-17_17:48:44"
|
var buildstamp = "2024-11-17_17:56:49"
|
||||||
var commits = "103"
|
var commits = "104"
|
||||||
var version = "6ed3897-b103 - 2024-11-17_17:48:44"
|
var version = "b83b0e8-b104 - 2024-11-17_17:56:49"
|
||||||
|
Loading…
Reference in New Issue
Block a user