chore: remove unused import and restrict noAuthPrefixes

This commit is contained in:
CREDO23 2026-01-27 11:11:08 +02:00
parent bd921a8ec8
commit 6091e070f3
2 changed files with 1 additions and 3 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