summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();