Forgot to make it remote specific

This commit is contained in:
Tracker-Friendly 2024-03-29 20:16:44 +00:00
parent 90198b9ae9
commit 5d28e08d73
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ function updateFont() {
async function waitforedit() { async function waitforedit() {
while(true) { while(true) {
await fetch("https://notes.canary.hectabit.org/api/waitforedit", { await fetch(remote + "/api/waitforedit", {
method: "POST", method: "POST",
body: JSON.stringify({ body: JSON.stringify({
"secretKey": localStorage.getItem("DONOTSHARE-secretkey") "secretKey": localStorage.getItem("DONOTSHARE-secretkey")