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:
CREDO23 2026-02-01 14:40:49 +02:00
parent f2a607300d
commit c2e2472356
2 changed files with 5 additions and 5 deletions

View file

@ -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