From 873f8a55d01ecbd11c957d140eaf2a0bb30ae51f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 9 Jul 2021 23:01:06 +0800 Subject: Registration URL path has been updated --- registration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'registration.c') 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(); -- cgit v1.2.3