Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Schniz/pointguard. An MVP-worthy background job server for PostgreSQL, written in Rust
Something went wrong. Try again.
123456789101112131415import type { paths } from "./generated/pointguard";import { Fetcher } from "openapi-typescript-fetch";
const apiClient = Fetcher.for<paths>();apiClient.configure({ baseUrl: new URL("/", window.location.href).href.replace(/\/$/, ""), init: { headers: { "x-pointguard": "1", }, },});
export { apiClient };