We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9315469 commit 87518a4Copy full SHA for 87518a4
pwa/src/components/buttons/SyncButton.vue
@@ -41,7 +41,7 @@ async function handleSubmit() {
41
42
let response: Response;
43
try {
44
- response = await fetch(state.endpoint.value, {
+ response = await fetch(new URL("session", state.endpoint.value), {
45
method: "POST",
46
headers: { "Content-Type": "application/json" },
47
body: JSON.stringify({
@@ -90,7 +90,7 @@ async function handleLogout() {
90
91
92
93
94
method: "DELETE",
95
credentials: "include",
96
});
0 commit comments