build frontend in node docker container

This commit is contained in:
2025-12-18 19:28:39 +01:00
parent 45a842b6fe
commit a38fd042ba
3 changed files with 13 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
import { useSession } from "./Session";
export const baseUrl = import.meta.env.VITE_BASE_URL as string;
export const baseUrl = "";
export async function apiAuth(
path: string,
@@ -95,6 +95,7 @@ export type LoginRequest = {
};
export const login = async (req: LoginRequest): Promise<void> => {
console.log("baseUrl", baseUrl);
try {
const response = await fetch(`${baseUrl}api/token`, {
method: "POST",