Fix server redirect error

This commit is contained in:
abias 2023-05-14 14:59:42 -04:00
parent d944140a76
commit 8f2d964062

View file

@ -142,7 +142,9 @@ server.get("/*", async (req, res) => {
if (!auth && isAuthPath(path)) { if (!auth && isAuthPath(path)) {
res.redirect("/"); res.redirect("/");
return;
} }
const site: GetSiteResponse = try_site; const site: GetSiteResponse = try_site;
initializeSite(site); initializeSite(site);