Forgot to make it remote specific
This commit is contained in:
parent
90198b9ae9
commit
5d28e08d73
|
@ -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")
|
||||||
|
|
Reference in New Issue