Fix admin phase change UI and ensure cookies on requests
This commit is contained in:
@@ -11,6 +11,7 @@ const withBase = (path) => `${basePath}${path}`;
|
||||
async function request(path, { method = "GET", body } = {}) {
|
||||
const res = await fetch(withBase(path), {
|
||||
method,
|
||||
credentials: "same-origin",
|
||||
headers: defaultHeaders,
|
||||
body: body ? JSON.stringify(body) : undefined,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user