From b94d9f4dc277292976590ea3a4f1afb8de48aa09 Mon Sep 17 00:00:00 2001 From: whistleJs Date: Sun, 11 Feb 2024 09:34:45 +0900 Subject: [PATCH] =?UTF-8?q?feature-058:=20CORS=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/config/instance.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apis/config/instance.ts b/src/apis/config/instance.ts index 7cdcce7..1bdae5f 100644 --- a/src/apis/config/instance.ts +++ b/src/apis/config/instance.ts @@ -9,6 +9,7 @@ const axiosInstance = axios.create({ baseURL }); axiosInstance.interceptors.request.use((config) => { config.withCredentials = true; + config.headers['Access-Control-Allow-Origin'] = '*'; if (localStorage.vino) { const storage = JSON.parse(localStorage.vino);