publishing

This commit is contained in:
Nicholas Keller
2026-07-28 10:55:45 -04:00
parent df1cd6836c
commit ccd8edc026
2 changed files with 1 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ window.api = {
async req(method, path, body) {
const res = await fetch(path, {
method,
credentials: "same-origin",
headers: body ? { "Content-Type": "application/json" } : undefined,
body: body ? JSON.stringify(body) : undefined,
});