mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
import { FrontendApi } from "@ory/client";
|
|
import { AUTH_SERVER_URL } from "./constants";
|
|
|
|
export const ory = new FrontendApi({
|
|
isJsonMime: () => true,
|
|
basePath: AUTH_SERVER_URL,
|
|
baseOptions: {
|
|
withCredentials: true,
|
|
},
|
|
});
|