1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-10-02 03:46:42 +02:00

Changes to the ai tutor URL

This commit is contained in:
Kamran Ahmed
2025-04-03 17:41:46 +01:00
parent 0d9374285b
commit b75d36a8c0
32 changed files with 80 additions and 97 deletions

View File

@@ -127,7 +127,7 @@ export function GitHubButton(props: GitHubButtonProps) {
// For non authentication pages, we want to redirect back to the page
// the user was on before they clicked the social login button
if (!['/login', '/signup'].includes(window.location.pathname)) {
const pagePath = ['/respond-invite', '/befriend', '/r', '/ai'].includes(
const pagePath = ['/respond-invite', '/befriend', '/r', '/ai-roadmaps'].includes(
window.location.pathname,
)
? window.location.pathname + window.location.search