summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2026-05-14 01:31:34 -0700
committerTyler Hoang <tyler@tylerhoang.xyz>2026-05-14 01:31:34 -0700
commitcdd28b6c0a3a6444b9ae79b123fe4fa7401de5ab (patch)
tree6e04f0ca2d05825d98a1c78b56eb7c30752b4657 /main.py
parent4279408876268f4960c98492d3814f5475e36e38 (diff)
Refine Lumi layouts and public profile
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 6b1a06b..16be52f 100644
--- a/main.py
+++ b/main.py
@@ -16,7 +16,7 @@ load_dotenv()
class AuthMiddleware(BaseHTTPMiddleware):
async def dispatch(self, request: Request, call_next):
- public_paths = {"/about", "/login", "/logout", "/tyler", "/films/partial"}
+ public_paths = {"/about", "/login", "/logout", "/tyler", "/films/partial", "/tyler/films/partial"}
path = request.url.path
if path.startswith("/static") or path in public_paths: