From cf3d70c83aac587e31004c983748c35a56508ac1 Mon Sep 17 00:00:00 2001 From: "Haoran S. Diao" <0@hairydiode.xyz> Date: Thu, 21 Nov 2019 23:55:58 -0800 Subject: Fixed some typos, fixed index directive in the nginx conf --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 8f2f7be..bc4fc18 100644 --- a/index.html +++ b/index.html @@ -30,15 +30,15 @@ function notify() { msg = new Notification("あなたはチンチンが大好き"); } //performing an https POST on the backend -$.post("https://" + window.hostname.location + "/api/msg", - {last-displayed: 0},// data to submit +$.post("https://" + window.location.hostname + "/api/msg", + {ld : 0},// data to submit function(data, status, jqXHR) { //callback function if (data == ""){ return; } console.log(data); } -} +);

You have not granted notification permissions

-- cgit v1.1