-
Notifications
You must be signed in to change notification settings - Fork 70
Make dashboard terminal team scoped #440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
8540954
00015f0
3353d82
a1f97af
2829591
a4c2767
3ccfbea
3bef5bf
a93e3b0
31496a5
a5256b8
a36cfbe
dde5dd7
9af0263
578ae01
103c668
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. since we never referenced this url anywhere, let's remove it 🙏🏼
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. o, u want to yeet /dashboard/terminal? that works, can see if can move it to /embed/terminal instead although in that case maybe can stick it in another repo |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| import { type NextRequest, NextResponse } from 'next/server' | ||
| import { PROTECTED_URLS } from '@/configs/urls' | ||
|
|
||
| export function GET(request: NextRequest) { | ||
| const redirectUrl = new URL(PROTECTED_URLS.DASHBOARD, request.url) | ||
| redirectUrl.search = request.nextUrl.search | ||
| redirectUrl.searchParams.set('tab', 'terminal') | ||
|
|
||
| return NextResponse.redirect(redirectUrl) | ||
|
cursor[bot] marked this conversation as resolved.
|
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.