[_]
This commit is contained in:
parent
7943453c46
commit
b6fb8e47fb
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ func (page *Page) BuildScript(assetRoot string) (string, error) {
|
|||
}
|
||||
|
||||
code := strings.ReplaceAll(page.Codes.JS.Code, "@assets", assetRoot)
|
||||
res, err := page.CompileCSS([]byte(code), false)
|
||||
res, err := page.CompileJS([]byte(code), false)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue