From d391ce632be29c49a612c64eb5f720238a46844d Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 17 Jan 2025 16:15:56 +0100 Subject: feat(server): Add all in one http server --- server/frontend/src/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/frontend/src/api.ts') diff --git a/server/frontend/src/api.ts b/server/frontend/src/api.ts index 00273ec..22cf6ca 100644 --- a/server/frontend/src/api.ts +++ b/server/frontend/src/api.ts @@ -1,6 +1,6 @@ import createClient from "openapi-fetch"; -import type {paths} from "./api-schema.js"; +import type { paths } from "./api-schema.js"; const apiRoot = import.meta.env.DEV ? "//localhost:8080/api" : "/api"; -export const client = createClient({baseUrl: apiRoot}); \ No newline at end of file +export const client = createClient({ baseUrl: apiRoot }); -- cgit