From 3c003a045d5673578f7b6c10caba4ea4cd34d522 Mon Sep 17 00:00:00 2001 From: Woojiseok Date: Wed, 24 Jul 2024 15:28:04 +0900 Subject: [PATCH] =?UTF-8?q?FE-73=F0=9F=90=9B=20url=EC=9C=A0=ED=9A=A8?= =?UTF-8?q?=EC=84=B1=EA=B2=80=EC=82=AC=20=EC=97=90=EB=9F=AC=20=EB=A9=94?= =?UTF-8?q?=EC=84=B8=EC=A7=80=20=EC=95=88=EB=9C=A8=EB=8A=94=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/index.ts | 3 +-- src/pageLayout/Epigram/AddEpigram.tsx | 2 +- src/schema/addEpigram.ts | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/apis/index.ts b/src/apis/index.ts index 551e436a..367633f2 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -2,7 +2,7 @@ import axios from 'axios'; import qs from 'qs'; const getToken = () => - 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjIsInRlYW1JZCI6IjUtOSIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNzIxNzQ0MDk3LCJleHAiOjE3MjE3NDU4OTcsImlzcyI6InNwLWVwaWdyYW0ifQ.vLG7eh4hG3Ka5r5xfmP9So2zt9-PcighDrTCmQ8wkAk'; + 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjUsInRlYW1JZCI6IjUtOSIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNzIxODAxOTU1LCJleHAiOjE3MjE4MDM3NTUsImlzcyI6InNwLWVwaWdyYW0ifQ.z_QkXSBKp6gsWH7qs_wdNqQcbzIKAiJieihWfY9LZWY'; const httpClient = axios.create({ baseURL: process.env.NEXT_PUBLIC_BASE_URL, @@ -10,7 +10,6 @@ const httpClient = axios.create({ paramsSerializer: (parameters) => qs.stringify(parameters, { arrayFormat: 'repeat', encode: false }), }); -// NOTE: 유민님 interceptor 사용! httpClient.interceptors.request.use( (config) => { const newConfig = { ...config }; diff --git a/src/pageLayout/Epigram/AddEpigram.tsx b/src/pageLayout/Epigram/AddEpigram.tsx index 5b63a248..4f5cf246 100644 --- a/src/pageLayout/Epigram/AddEpigram.tsx +++ b/src/pageLayout/Epigram/AddEpigram.tsx @@ -222,7 +222,7 @@ function AddEpigram() { (data.referenceUrl === '' && data.referenceTitle === '') || (data.referenceUrl !== '' && data.referenceTitle !== ''), {