diff options
Diffstat (limited to 'server/frontend/src/api.ts')
-rw-r--r-- | server/frontend/src/api.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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<paths>({baseUrl: apiRoot});
\ No newline at end of file +export const client = createClient<paths>({ baseUrl: apiRoot }); |