Add /api/sign_(in|out).json endpoints, uncomment sign in/out logic in navbar and...
[ndcode_site.git] / api / sign_up / verify_email.json.jst
index b82e328..dc70f77 100644 (file)
@@ -11,8 +11,8 @@ return async env => {
     // env
     env,
     // endpoint
-    '/api/sign_up/verify_email',
-    // func
+    '/api/sign_up/verify_email.json',
+    // handler
     async (email, link_code) => {
       // coerce and/or validate
       email = email.slice(0, 256).toLowerCase()