mirror of
https://github.com/Luzifer/ots.git
synced 2025-08-02 11:16:25 -04:00
Implement frontend customizations
refs #71 Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
d3ca12fa35
commit
128ce071cb
12 changed files with 198 additions and 53 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue