We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32856c7 + 2077546 commit 56e2cedCopy full SHA for 56e2ced
server/src/routes/auth.ts
@@ -384,7 +384,7 @@ router.get(
384
httpOnly: false,
385
maxAge: 60000,
386
});
387
- res.redirect(process.env.PUBLIC_URL as string || "http://localhost:5173");
+ res.redirect(`${process.env.PUBLIC_URL}/robots/${robotId}/integrate` as string || `http://localhost:5173/robots/${robotId}/integrate`);
388
} catch (error: any) {
389
res.status(500).json({ message: `Google OAuth error: ${error.message}` });
390
}
0 commit comments