mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 16:56:22 +02:00
fix: rename migration to 85, remove obsolete noAuth prefix
- Rename snapshot migration from 84 to 85 to avoid conflict with upstream's LLM auto-mode migration - Remove /api/v1/podcasts/ from noAuthPrefixes since all podcast endpoints now require authentication Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
f2a607300d
commit
c2e2472356
2 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ class BaseApiService {
|
|||
noAuthEndpoints: string[] = ["/auth/jwt/login", "/auth/register", "/auth/refresh"];
|
||||
|
||||
// Prefixes that don't require auth (checked with startsWith)
|
||||
noAuthPrefixes: string[] = ["/api/v1/public/", "/api/v1/podcasts/"];
|
||||
noAuthPrefixes: string[] = ["/api/v1/public/"];
|
||||
|
||||
// Use a getter to always read fresh token from localStorage
|
||||
// This ensures the token is always up-to-date after login/logout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue