build(docker): add runtime-configured frontend image

This commit is contained in:
2026-07-11 21:57:53 +02:00
parent 31023f9e7a
commit 3d939426b1
9 changed files with 150 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const BASE = import.meta.env.VITE_BACKEND_URL ?? "http://localhost:8787";
import { backendBaseUrl as BASE } from "./runtime-config";
export async function apiFetch<T>(path: string, init?: RequestInit): Promise<T> {
// Only declare a JSON content-type when we actually send a body. Body-less