Implement frontend customizations

refs #71

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-06-10 18:21:38 +02:00
parent d3ca12fa35
commit 128ce071cb
No known key found for this signature in database
GPG key ID: D91C3E91E4CAD6F5
12 changed files with 198 additions and 53 deletions

View file

@ -3,7 +3,6 @@ package main
import (
"crypto/sha512"
"encoding/base64"
"path"
"sync"
"text/template"
)
@ -21,7 +20,7 @@ func assetSRIHash(assetName string) string {
return sri
}
data, err := assets.ReadFile(path.Join("frontend", assetName))
data, err := assets.ReadFile(assetName)
if err != nil {
panic(err)
}