middleware fix wip
This commit is contained in:
@@ -3,6 +3,7 @@ import { redirect } from 'next/navigation';
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export default function SponsorPage() {
|
||||
// Server-side redirect to sponsor dashboard
|
||||
// Redirect to dashboard - this will be handled by middleware for auth
|
||||
// Using permanent redirect to avoid cookie loss
|
||||
redirect('/sponsor/dashboard');
|
||||
}
|
||||
Reference in New Issue
Block a user