diff --git a/src/components/DynamicToastEditorAdmin.tsx b/src/components/DynamicToastEditorAdmin.tsx index 6c89a8e5b..eb08b5466 100644 --- a/src/components/DynamicToastEditorAdmin.tsx +++ b/src/components/DynamicToastEditorAdmin.tsx @@ -9,7 +9,7 @@ interface Props extends IToastEditorProps { } const ToastEditorAdmin = dynamic( - () => import('./ToastUIEditor'), // ToastEditor 컴포넌트의 경로 + () => import('./ToastUIEditorAdmin'), // ToastEditor 컴포넌트의 경로 { ssr: false }, // 서버 사이드 렌더링 비활성화 ) diff --git a/src/components/ToastUIEditorAdmin.tsx b/src/components/ToastUIEditorAdmin.tsx index 5f17fe8cb..8f0f38436 100644 --- a/src/components/ToastUIEditorAdmin.tsx +++ b/src/components/ToastUIEditorAdmin.tsx @@ -62,6 +62,7 @@ const ToastEditorAdmin = ({ `${API_URL}/api/v1/admin/editor/image`, formData, { + withCredentials: true, headers: { 'Content-Type': 'multipart/form-data', },