fix(wisekeep): use dynamic env for API URL

Switch from static to dynamic public env to allow runtime configuration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-11-28 21:04:01 +01:00
parent 3339aa2892
commit 47056acc32

View file

@ -1,6 +1,6 @@
import { PUBLIC_API_URL } from '$env/static/public';
import { env } from '$env/dynamic/public';
const API_BASE = PUBLIC_API_URL || 'http://localhost:3006';
const API_BASE = env.PUBLIC_API_URL || 'http://localhost:3006';
export interface TranscriptionJob {
id: string;