diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-17 16:15:56 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-17 16:15:56 +0100 |
commit | d391ce632be29c49a612c64eb5f720238a46844d (patch) | |
tree | a0a8b92c9ec550a5c794fc6edaf9fd71e1621490 /server/frontend/src/api.ts | |
parent | aa7e28e799ce19f04c6c33782ea8d25ef4c3bb98 (diff) | |
download | LocalTransactionLedger-d391ce632be29c49a612c64eb5f720238a46844d.tar.gz LocalTransactionLedger-d391ce632be29c49a612c64eb5f720238a46844d.tar.bz2 LocalTransactionLedger-d391ce632be29c49a612c64eb5f720238a46844d.zip |
feat(server): Add all in one http server
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 }); |