More bookstack integration stuff
This commit is contained in:
@@ -91,7 +91,7 @@ export async function getLoaTypes(): Promise<LOAType[]> {
|
||||
|
||||
export async function getLoaPolicy(): Promise<string> {
|
||||
//@ts-ignore
|
||||
const res = await fetch(`${import.meta.env.VITE_DOCHOST}/api/pages/42`, {
|
||||
const res = await fetch(`${addr}/loa/policy`, {
|
||||
method: "GET",
|
||||
credentials: 'include',
|
||||
});
|
||||
@@ -105,4 +105,4 @@ export async function getLoaPolicy(): Promise<string> {
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user