fix: fix path of assets

This commit is contained in:
Simon Vieille 2025-08-31 11:26:57 +02:00
commit 689abf2ca7
Signed by: deblan
GPG key ID: 579388D585F70417
3 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ var (
func entrypointFiles(app, category string) []string {
if entrypoints == nil {
value, _ := statics.ReadFile("static/entrypoints.json")
value, _ := statics.ReadFile("dist/entrypoints.json")
json.Unmarshal(value, &entrypoints)
}
@ -38,7 +38,7 @@ func entrypointFiles(app, category string) []string {
func Asset(name string) string {
if manifest == nil {
value, _ := statics.ReadFile("static/manifest.json")
value, _ := statics.ReadFile("dist/manifest.json")
json.Unmarshal(value, &manifest)
}