From 5cb5f6ace342afe1e326e623c1839f87f0ee947a Mon Sep 17 00:00:00 2001 From: joak Date: Tue, 25 Jun 2024 12:46:51 +0200 Subject: [PATCH] Update 'backplaces/sunrise/sunrise.js' --- backplaces/sunrise/sunrise.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backplaces/sunrise/sunrise.js b/backplaces/sunrise/sunrise.js index b2f7654..4118942 100644 --- a/backplaces/sunrise/sunrise.js +++ b/backplaces/sunrise/sunrise.js @@ -62,7 +62,7 @@ async function writePost(){ var post = document.getElementById('username2').value; var name = document.getElementById('user-message2').value; console.log(post,name); - var url = '../writepost.php?post='+ post + '&name=' + name; + var url = './writepost.php?post='+ post + '&name=' + name; let response = await fetch(url); console.log(response); console.log(response.text());