Skip to content

Commit

Permalink
렌더링 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcgrdn committed Jan 12, 2025
1 parent 2086739 commit a99eef8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/albums/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -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: {
Expand All @@ -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',
Expand Down

0 comments on commit a99eef8

Please sign in to comment.