🎨
This commit is contained in:
parent
19e3df80e7
commit
1bc4e7869a
11
.gitignore
vendored
11
.gitignore
vendored
@ -19,7 +19,15 @@
|
|||||||
# vendor/
|
# vendor/
|
||||||
.idea
|
.idea
|
||||||
logs
|
logs
|
||||||
web
|
web/assets
|
||||||
|
web/static
|
||||||
|
web/*.ico
|
||||||
|
web/*.gz
|
||||||
|
web/*.br
|
||||||
|
web/*.html
|
||||||
|
web/*.svg
|
||||||
|
web/*.json
|
||||||
|
|
||||||
|
|
||||||
# Go workspace file
|
# Go workspace file
|
||||||
go.work
|
go.work
|
||||||
@ -27,4 +35,3 @@ wg.db
|
|||||||
wg0.conf
|
wg0.conf
|
||||||
*.db
|
*.db
|
||||||
*.yaml
|
*.yaml
|
||||||
|
|
||||||
|
6
web/static.go
Normal file
6
web/static.go
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package web
|
||||||
|
|
||||||
|
import "embed"
|
||||||
|
|
||||||
|
//go:embed index.html logo.svg favicon.ico platform-config.json static assets
|
||||||
|
var Static embed.FS
|
Loading…
x
Reference in New Issue
Block a user