Format this

This commit is contained in:
Melon 2023-10-09 20:30:35 +01:00
parent a56a79db52
commit c839fb1746
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -72,8 +72,7 @@ func normalLoad(startUp server.Conf, wd string) {
log.Fatal("[Lavender] Failed to load or create MJWT signer:", err) log.Fatal("[Lavender] Failed to load or create MJWT signer:", err)
} }
err = pages.LoadPages(wd) if err := pages.LoadPages(wd); err != nil {
if err != nil {
log.Fatal("[Lavender] Failed to load page templates:", err) log.Fatal("[Lavender] Failed to load page templates:", err)
} }