From 7adfd36d92edf93b871f69a2e238afdeb7a5b117 Mon Sep 17 00:00:00 2001 From: "Haoran S. Diao" <0@hairydiode.xyz> Date: Fri, 22 Nov 2019 15:50:20 -0800 Subject: Added port number to backend request and fixed typo in backend regarding certificates --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.html') diff --git a/index.html b/index.html index bc4fc18..49a40b5 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@ function notify() { msg = new Notification("あなたはチンチンが大好き"); } //performing an https POST on the backend -$.post("https://" + window.location.hostname + "/api/msg", +$.post("https://" + window.location.hostname + ":6969/api/msg", {ld : 0},// data to submit function(data, status, jqXHR) { //callback function if (data == ""){ -- cgit v1.1