From 427d15661e8d384c966955da946053302e6da8d7 Mon Sep 17 00:00:00 2001 From: Casual Date: Fri, 29 Mar 2024 01:32:34 +0300 Subject: [PATCH] whoami contact_me fix --- content/whoami/contact_me.md | 4 +-- content/whoami/contact_me1.html | 48 --------------------------------- 2 files changed, 2 insertions(+), 50 deletions(-) delete mode 100644 content/whoami/contact_me1.html diff --git a/content/whoami/contact_me.md b/content/whoami/contact_me.md index d1284a4..d1f3d64 100644 --- a/content/whoami/contact_me.md +++ b/content/whoami/contact_me.md @@ -54,8 +54,8 @@ function sendPostRequest() { var textFieldData = document.getElementById("textField").value; var xhr = new XMLHttpRequest(); - var url = "https://blog.ca.sual.in/api/send_message"; - + var url = "https://blog.ca.sual.in/api/message"; + xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onreadystatechange = function () { diff --git a/content/whoami/contact_me1.html b/content/whoami/contact_me1.html deleted file mode 100644 index 1613da4..0000000 --- a/content/whoami/contact_me1.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - -

My First Heading

-

My first paragraph.

- - - -
-
- -
-
-
- -
- -
-
-
-
- -
-
-
- -
- -
-
-
-
- -
- -
-
-
-
- -
-
-
-

(Powered by Un-static Forms)

-
-