diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-14 01:31:34 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-14 01:31:34 -0700 |
| commit | cdd28b6c0a3a6444b9ae79b123fe4fa7401de5ab (patch) | |
| tree | 6e04f0ca2d05825d98a1c78b56eb7c30752b4657 /main.py | |
| parent | 4279408876268f4960c98492d3814f5475e36e38 (diff) | |
Refine Lumi layouts and public profile
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |
