mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
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:
parent
3339aa2892
commit
47056acc32
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue