Add /api/sign_(in|out).json endpoints, uncomment sign in/out logic in navbar and...
[ndcode_site.git] / api / sign_up / create_account.json.jst
index c3c74b6..5789c6a 100644 (file)
@@ -9,8 +9,8 @@ return async env => {
     // env
     env,
     // endpoint
-    '/api/sign_up/create_account',
-    // func
+    '/api/sign_up/create_account.json',
+    // handler
     async (verification_code, details) => {
       // coerce and/or validate
       verification_code = verification_code.slice(0, 6).toLowerCase()