Skip to content

Commit

Permalink
change redirect type
Browse files Browse the repository at this point in the history
  • Loading branch information
Akhil Pillai committed Aug 24, 2024
1 parent 469db6b commit 1262ade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/discord/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DISCORD_INVITE_LINK } from '@/constants';
import { permanentRedirect } from 'next/navigation';
import { redirect } from 'next/navigation';

export async function GET() {
return permanentRedirect(DISCORD_INVITE_LINK);
return redirect(DISCORD_INVITE_LINK);
}

0 comments on commit 1262ade

Please sign in to comment.