Updated client env references

This commit is contained in:
2025-11-19 21:21:49 -05:00
parent a1a5654f63
commit ca5066249f
8 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ export type LOARequest = {
reason?: string;
};
// @ts-ignore
const addr = import.meta.env.VITE_APIHOST;
const addr = import.meta.env.BASE_URL;
export async function submitLOA(request: LOARequest): Promise<{ id?: number; error?: string }> {
const res = await fetch(`${addr}/loa`, {