Merge branch 'main' into beta

This commit is contained in:
Alexis Couvreur
2021-12-22 11:57:48 +01:00

View File

@@ -182,7 +182,7 @@ func GetErrorPage(template_path string, name string, e string) string {
if template_path != "" {
tpl, err = template.New(path.Base(template_path)).ParseFiles(template_path)
} else {
tpl, err = template.New("loading").Parse(errorPage)
tpl, err = template.New("error").Parse(errorPage)
}
if err != nil {
return err.Error()