mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
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)) {
|
||||
res.redirect("/");
|
||||
return;
|
||||
}
|
||||
|
||||
const site: GetSiteResponse = try_site;
|
||||
initializeSite(site);
|
||||
|
||||
|
|
Loading…
Reference in a new issue