fix: fix path of assets
This commit is contained in:
parent
f73222a1c9
commit
689abf2ca7
3 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue