From a99eef8111d02f2dcd8928f1013f41d046c2203c Mon Sep 17 00:00:00 2001 From: choi Date: Sun, 12 Jan 2025 12:20:39 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A0=8C=EB=8D=94=EB=A7=81=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/albums/[id]/page.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/albums/[id]/page.tsx b/src/app/albums/[id]/page.tsx index 11ea9c6..9d4a0d6 100644 --- a/src/app/albums/[id]/page.tsx +++ b/src/app/albums/[id]/page.tsx @@ -1,7 +1,6 @@ import { cn } from "@/lib/utils"; import { AlbumInfo } from "@/components/albums/AlbumInfo"; import { TrackList } from "@/components/albums/TrackList"; -import { getAuthCookie } from "@/lib/server-auth"; interface AlbumPageProps { params: { @@ -10,11 +9,8 @@ interface AlbumPageProps { } async function getAlbum(id: string) { - const accessToken = getAuthCookie(); - const response = await fetch(`${process.env.NEXT_PUBLIC_API_BASE_URL}/albums/${id}`, { headers: { - "Authorization": `Bearer ${accessToken}`, "Content-Type": "application/json", }, credentials: 'include',