diff --git a/.gitignore b/.gitignore index 498e164..ed1293a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,15 @@ # vendor/ .idea logs -web +web/assets +web/static +web/*.ico +web/*.gz +web/*.br +web/*.html +web/*.svg +web/*.json + # Go workspace file go.work @@ -27,4 +35,3 @@ wg.db wg0.conf *.db *.yaml - diff --git a/web/static.go b/web/static.go new file mode 100644 index 0000000..7de0a58 --- /dev/null +++ b/web/static.go @@ -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