fix: public chat copy link button and podcast access

This commit is contained in:
CREDO23 2026-01-26 20:10:03 +02:00
parent ee65e1377f
commit 271de96cce
7 changed files with 47 additions and 20 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/"];
noAuthPrefixes: string[] = ["/api/v1/public/", "/api/v1/podcasts/"];
// Use a getter to always read fresh token from localStorage
// This ensures the token is always up-to-date after login/logout