+
-
+
);
}
diff --git a/src/domain/Activity/components/detail/description/DescriptionSection.tsx b/src/domain/Activity/components/detail/description/DescriptionSection.tsx
index 4b8ca1cd..2fed032f 100644
--- a/src/domain/Activity/components/detail/description/DescriptionSection.tsx
+++ b/src/domain/Activity/components/detail/description/DescriptionSection.tsx
@@ -1,3 +1,5 @@
+import ExpandableText from '@/domain/Activity/components/detail/Review/ExpandableText';
+
/**
* DescriptionSection
* 체험 상세 페이지에서 체험 설명을 보여주는 컴포넌트
@@ -16,9 +18,7 @@ export default function DescriptionSection({
return (
);
}
diff --git a/src/middleware.ts b/src/middleware.ts
index c1ff70f1..cb113455 100644
--- a/src/middleware.ts
+++ b/src/middleware.ts
@@ -1,5 +1,6 @@
import { NextRequest, NextResponse } from 'next/server';
+import setAuthCookies from '@/domain/Auth/utils/setAuthCookies';
import { ERROR_CODES, ROUTES } from '@/shared/constants/routes';
import { BRIDGE_API } from './shared/constants/bridgeEndpoints';
@@ -135,21 +136,14 @@ export async function middleware(request: NextRequest) {
signal: AbortSignal.timeout(30000),
});
- const finalResponse = new NextResponse(response.body, {
- status: response.status,
- statusText: response.statusText,
- headers: response.headers,
- });
-
- finalResponse.cookies.set('accessToken', newAccessToken, {
- httpOnly: true,
- secure: process.env.NODE_ENV === 'production',
- path: '/',
- maxAge: 60 * 60,
- sameSite: 'lax',
- });
-
- return finalResponse;
+ return setAuthCookies(
+ new NextResponse(response.body, {
+ status: response.status,
+ statusText: response.statusText,
+ headers: response.headers,
+ }),
+ tokens,
+ );
} else {
console.log(
'[Middleware] Refresh Token 만료 또는 갱신 실패. 로그인 페이지로 리다이렉트합니다.',
+
{user.nickname}
@@ -61,7 +63,7 @@ export default function ReviewCard(review: Review) {
})}
체험 설명
-- {description} -
+