mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-26 15:16:24 +01:00
Merge branch 'main' into beta
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user