move static folder to web/static

This commit is contained in:
Dominik Hartmann 2022-05-01 16:20:41 +02:00 committed by Lena Fuhrimann
parent 5cb52b55da
commit fa2f39fa2c
6 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ import (
//go:embed web/template //go:embed web/template
var templateFS embed.FS var templateFS embed.FS
//go:embed static //go:embed web/static
var staticFS embed.FS var staticFS embed.FS
func main() { func main() {
@ -72,7 +72,7 @@ func main() {
log.Fatal(err) log.Fatal(err)
} }
// Set up statics // Set up statics
statics, err := fs.Sub(staticFS, "static") statics, err := fs.Sub(staticFS, "web/static")
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }