From 6540c8d789e10f9cd1f5a4ba0337b4fb808dd2e3 Mon Sep 17 00:00:00 2001 From: 2paperstar Date: Fri, 16 Feb 2024 07:02:33 +0900 Subject: [PATCH] fix: revert api url --- src/api/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index fe703d8..45866bd 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -1,10 +1,6 @@ import axios from 'axios'; -const api = axios.create({ - // baseURL: 'https://wayu.hackathon.sparcs.net/' - baseURL: 'https://fc5c-49-165-90-85.ngrok-free.app', - headers: { 'ngrok-skip-browser-warning': '1' }, -}); +const api = axios.create({ baseURL: 'https://wayu.hackathon.sparcs.net/' }); api.interceptors.request.use((config) => { const token = localStorage.getItem('accessToken');