summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-09 23:01:06 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-09 23:01:06 +0800
commit873f8a55d01ecbd11c957d140eaf2a0bb30ae51f (patch)
treee36608c8d826a810d0d49b40b739e060e4197e62
parent939118c37dec9ee68cfa86a728520083b2564e58 (diff)
Registration URL path has been updated
-rw-r--r--registration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/registration.c b/registration.c
index 3da97b8..f3a6a0a 100644
--- a/registration.c
+++ b/registration.c
@@ -30,7 +30,7 @@ void sign_up(const char *brand, const char *certificate)
attr.userData = data;
attr.onsuccess = cleanup;
attr.onerror = cleanup;
- emscripten_fetch(&attr, "register");
+ emscripten_fetch(&attr, "registration");
(void)certificate;
#else
curl_global_init(CURL_GLOBAL_SSL);
@@ -42,7 +42,7 @@ void sign_up(const char *brand, const char *certificate)
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
#endif
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, brand);
- curl_easy_setopt(curl, CURLOPT_URL, SAMPLEURL"/register");
+ curl_easy_setopt(curl, CURLOPT_URL, SAMPLEURL"/registration");
curl_easy_perform(curl);
curl_easy_cleanup(curl);
curl_global_cleanup();