Aggressively deprecate app.urls.xyz & update docs to avoid it

Closes #1587
This commit is contained in:
Konstantin Wohlwend
2026-06-17 09:56:41 -07:00
parent c50f1e64ed
commit ec0008d515
29 changed files with 180 additions and 81 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ export default function CustomCredentialSignIn() {
setError('Please enter your password');
return;
}
// This will redirect to app.urls.afterSignIn if successful.
// This will redirect to the configured afterSignIn URL if successful.
// You can customize the redirect URL in the StackServerApp constructor.
const result = await app.signInWithCredential({ email, password });
// It's better to handle each error code separately, but for simplicity,
@@ -180,7 +180,7 @@ export default function CustomCredentialSignUp() {
setError('Please enter your password');
return;
}
// This will redirect to app.urls.afterSignUp if successful.
// This will redirect to the configured afterSignUp URL if successful.
// You can customize the redirect URL in the StackServerApp constructor.
const result = await app.signUpWithCredential({ email, password });
// It's better to handle each error code separately, but for simplicity,