From b763a2365e5a69f7871e0f10f2ddaa37f11b44bf Mon Sep 17 00:00:00 2001 From: jaewon <139107488+jaerius@users.noreply.github.com> Date: Sat, 8 Jun 2024 02:17:03 +0900 Subject: [PATCH] preflight --- spirograph/src/components/Sketch/Sketch.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/spirograph/src/components/Sketch/Sketch.jsx b/spirograph/src/components/Sketch/Sketch.jsx index 2e227dc..4dc6fc8 100644 --- a/spirograph/src/components/Sketch/Sketch.jsx +++ b/spirograph/src/components/Sketch/Sketch.jsx @@ -154,6 +154,7 @@ const Sketch = ({ body: formData, // FormData 객체 전송 headers: { 'Accept': 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', // 추가 헤더가 필요한 경우 여기에 추가 }, credentials: 'include', // 이 설정을 추가하여 쿠키를 포함합니다