Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update sendMobileOTP() redirect

dannykng0f176fc5cfa2
diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js
index c4b560446cc..bed6e889a50 100644
--- a/apps/www/lib/redirects.js
+++ b/apps/www/lib/redirects.js
@@ -1451,12 +1451,12 @@ module.exports = [
source: '/docs/reference/javascript/auth-session',
destination: '/docs/reference/javascript/v1/auth-session',
},
- // Removed sendMobileOTP in favor of signInWithOtp
- // send traffic to new v2 docs instead
+ // v1: /auth-api-sendmobileotp
+ // v2: /auth-signinwithotp
{
permanent: true,
source: '/docs/reference/javascript/auth-api-sendmobileotp',
- destination: '/docs/reference/javascript/auth-signinwithotp',
+ destination: '/docs/reference/javascript/v1/auth-api-sendmobileotp',
},
// realtime methods been replaced with new names