From ee731cdf64e040f268a7598c78bb6cf5156cb0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B3=B5=EC=A0=95=EB=AF=BC?= <102538362+jeongmin59@users.noreply.github.com> Date: Sun, 21 Apr 2024 21:23:14 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20Fix:=20baseURL=20=EB=81=9D=EC=97=90=20/?= =?UTF-8?q?=20=EC=A0=9C=EA=B1=B0=20(#206)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/axiosConfig.tsx | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/axiosConfig.tsx b/src/api/axiosConfig.tsx index e8d84d7..d544b53 100644 --- a/src/api/axiosConfig.tsx +++ b/src/api/axiosConfig.tsx @@ -3,7 +3,7 @@ import axios from 'axios'; // Axios 인스턴스 생성 const axiosInstance = axios.create({ - baseURL: 'https://api.pastforward.link/', + baseURL: 'https://api.pastforward.link', headers: { 'Content-Type': 'application/json;charset=UTF-8', }, diff --git a/webpack.config.js b/webpack.config.js index 9082b2d..f28c16e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -22,7 +22,7 @@ module.exports = (env, argv) => { proxy: [ { context: ['/api'], - target: 'https://api.pastforward.link/', + target: 'https://api.pastforward.link', }, ], },