fix: prepend base url on logout
parent
fb9e14c611
commit
08b46fd16c
|
@ -92,7 +92,7 @@ export async function logout() {
|
||||||
|
|
||||||
if (authMethod === "proxy" && authLogoutURL != "") {
|
if (authMethod === "proxy" && authLogoutURL != "") {
|
||||||
try {
|
try {
|
||||||
await fetch(`${authLogoutURL}`, {
|
await fetch(`${baseURL}${authLogoutURL}`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|
Loading…
Reference in New Issue