feat: add authorization
This commit is contained in:
@@ -3,4 +3,7 @@ import createClient from "openapi-fetch";
|
||||
import { apiBaseUrl } from "./config";
|
||||
import type { paths } from "./generated/schema";
|
||||
|
||||
export const apiClient = createClient<paths>({ baseUrl: apiBaseUrl });
|
||||
export const apiClient = createClient<paths>({
|
||||
baseUrl: apiBaseUrl,
|
||||
credentials: "include",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user