build(docker): add runtime-configured frontend image
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user