Change invite email link to /login to avoid 404

cgen-4ff75aeb4bd34ba1b8e9df4d22b45fad
This commit is contained in:
Builder.io 2025-10-18 02:56:06 +00:00
parent fae1badef3
commit 4bf75a77f6

View file

@ -705,7 +705,7 @@ export function createServer() {
.single();
if (error) return res.status(500).json({ error: error.message });
const inviteUrl = `${baseUrl}/signup?invite=${encodeURIComponent(token)}`;
const inviteUrl = `${baseUrl}/login?invite=${encodeURIComponent(token)}`;
if (emailService.isConfigured) {
try {