feat: switch PUBLIC_API_URL and PUBLIC_URL to dynamic env for runtime configurability
Some checks failed
Build and Push Docker Image to Gitea / build-and-push (push) Failing after 3m3s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 17:01:37 +01:00
parent 3915dbc115
commit 865787fb45
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import {
aggregate,
} from "@directus/sdk";
import type { Analytics, Article, Model, Recording, Stats, User, Video, VideoLikeStatus, VideoLikeResponse, VideoPlayResponse } from "$lib/types";
import { PUBLIC_URL } from "$env/static/public";
import { PUBLIC_URL } from "$env/dynamic/public";
import { logger } from "$lib/logger";
// Helper to log API calls