mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-24 07:16:19 +00:00
Fix server redirect error
This commit is contained in:
parent
d944140a76
commit
8f2d964062
|
@ -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