summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorHaoran S. Diao <0@hairydiode.xyz>2019-11-22 15:50:20 -0800
committerHaoran S. Diao <0@hairydiode.xyz>2019-11-22 15:50:20 -0800
commit7adfd36d92edf93b871f69a2e238afdeb7a5b117 (patch)
treea2c0e0e6ca9a8050d7dc1e6ed3f23c9a7640a03e /index.html
parent31ec2e49203c9dbfa6e3da999463def3d123d10b (diff)
Added port number to backend request and fixed typo in backend regarding
certificates
Diffstat (limited to 'index.html')
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
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 == ""){