mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
chore: remove unused import and restrict noAuthPrefixes
This commit is contained in:
parent
bd921a8ec8
commit
6091e070f3
2 changed files with 1 additions and 3 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