Skip to content

Commit 72a7fdd

Browse files
committed
Stuff
1 parent b7e08d3 commit 72a7fdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/(dashboard)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default async function DashboardLayout({
2222
const session = await auth();
2323

2424
if (!session?.user) {
25-
redirect("/api/auth/signin");
25+
redirect("/signin");
2626
}
2727

2828
return (

src/app/api/slack/callback/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export async function GET(request: NextRequest) {
109109
});
110110
}
111111

112-
return NextResponse.redirect(`${appUrl}/dashboard/onboarding`);
112+
return NextResponse.redirect(`${appUrl}/signin`);
113113
} catch (error) {
114114
console.error("Slack OAuth callback error:", error);
115115
return NextResponse.redirect(`${appUrl}/?error=install_failed`);

0 commit comments

Comments
 (0)