From 5d28e08d73fe7657925bc90163d1a63f5dbfd8af Mon Sep 17 00:00:00 2001 From: Tracker-Friendly Date: Fri, 29 Mar 2024 20:16:44 +0000 Subject: [PATCH] Forgot to make it remote specific --- static/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/main.js b/static/js/main.js index c5bf1a4..3b47ec8 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -187,7 +187,7 @@ function updateFont() { async function waitforedit() { while(true) { - await fetch("https://notes.canary.hectabit.org/api/waitforedit", { + await fetch(remote + "/api/waitforedit", { method: "POST", body: JSON.stringify({ "secretKey": localStorage.getItem("DONOTSHARE-secretkey")