Fix server redirect error
This commit is contained in:
parent
d944140a76
commit
8f2d964062
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue