mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
packages
This commit is contained in:
10
packages/devtools-ui/src/utils/ory.ts
Normal file
10
packages/devtools-ui/src/utils/ory.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user