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

@@ -71,7 +71,7 @@ export enum ApplicationStatus {
Denied = "Denied",
}
// @ts-ignore
const addr = import.meta.env.VITE_APIHOST;
const addr = import.meta.env.BASE_URL;
export async function loadApplication(id: number | string): Promise<ApplicationFull | null> {
const res = await fetch(`${addr}/application/${id}`)