fix: whitelist /p/* in middleware so short links work without a session
Build pitch-deck / build-push-deploy (push) Successful in 1m38s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 33s
CI / test-python-voice (push) Successful in 33s
CI / test-bqas (push) Successful in 30s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-05-07 10:42:09 +02:00
parent 76aad8b1d1
commit d291af0e33
+1
View File
@@ -8,6 +8,7 @@ const PUBLIC_PATHS = [
'/api/health', '/api/health',
'/api/admin-auth', // admin login API '/api/admin-auth', // admin login API
'/pitch-admin/login', // admin login page '/pitch-admin/login', // admin login page
'/p', // short link redirects — must be public so uninvited users can follow magic links
'/_next', '/_next',
'/manifest.json', '/manifest.json',
'/sw.js', '/sw.js',