diff --git a/surfsense_backend/alembic/versions/84_add_public_chat_snapshots_table.py b/surfsense_backend/alembic/versions/85_add_public_chat_snapshots_table.py similarity index 98% rename from surfsense_backend/alembic/versions/84_add_public_chat_snapshots_table.py rename to surfsense_backend/alembic/versions/85_add_public_chat_snapshots_table.py index 1da758c7d..60c31f039 100644 --- a/surfsense_backend/alembic/versions/84_add_public_chat_snapshots_table.py +++ b/surfsense_backend/alembic/versions/85_add_public_chat_snapshots_table.py @@ -1,7 +1,7 @@ """Add public_chat_snapshots table and remove deprecated columns from new_chat_threads -Revision ID: 84 -Revises: 83 +Revision ID: 85 +Revises: 84 Create Date: 2026-01-29 Changes: @@ -19,8 +19,8 @@ from collections.abc import Sequence from alembic import op # revision identifiers, used by Alembic. -revision: str = "84" -down_revision: str | None = "83" +revision: str = "85" +down_revision: str | None = "84" branch_labels: str | Sequence[str] | None = None depends_on: str | Sequence[str] | None = None diff --git a/surfsense_web/lib/apis/base-api.service.ts b/surfsense_web/lib/apis/base-api.service.ts index b14818ac1..a87d4deaf 100644 --- a/surfsense_web/lib/apis/base-api.service.ts +++ b/surfsense_web/lib/apis/base-api.service.ts @@ -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