diff --git a/backplaces/sunrise/sunrise.js b/backplaces/sunrise/sunrise.js index de87959..b2f7654 100644 --- a/backplaces/sunrise/sunrise.js +++ b/backplaces/sunrise/sunrise.js @@ -34,7 +34,7 @@ getdata(); //write async function writeData(post_number){ - var url = '../write.php?post='+ post_number; + var url = './write.php?post='+ post_number; let response = await fetch(url); console.log(response); console.log(response.text());