From 8f2d964062a2715a528dcbf7f57b5612549b109c Mon Sep 17 00:00:00 2001
From: abias <abias1122@gmail.com>
Date: Sun, 14 May 2023 14:59:42 -0400
Subject: [PATCH] Fix server redirect error

---
 src/server/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/server/index.tsx b/src/server/index.tsx
index 8088288..e724fbd 100644
--- a/src/server/index.tsx
+++ b/src/server/index.tsx
@@ -142,7 +142,9 @@ server.get("/*", async (req, res) => {
 
     if (!auth && isAuthPath(path)) {
       res.redirect("/");
+      return;
     }
+
     const site: GetSiteResponse = try_site;
     initializeSite(site);
 
-- 
2.44.1