From 1262ade682a5cf718190703f3e3cc40be221961c Mon Sep 17 00:00:00 2001 From: Akhil Pillai Date: Sat, 24 Aug 2024 12:21:51 -0700 Subject: [PATCH] change redirect type --- src/app/discord/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/discord/route.ts b/src/app/discord/route.ts index ba53b0a..5683658 100644 --- a/src/app/discord/route.ts +++ b/src/app/discord/route.ts @@ -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); }