diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-09 23:01:06 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-09 23:01:06 +0800 |
commit | 873f8a55d01ecbd11c957d140eaf2a0bb30ae51f (patch) | |
tree | e36608c8d826a810d0d49b40b739e060e4197e62 /registration.c | |
parent | 939118c37dec9ee68cfa86a728520083b2564e58 (diff) |
Registration URL path has been updated
Diffstat (limited to 'registration.c')
-rw-r--r-- | registration.c | 4 |
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(); |