osamhack2021 / ai_web_RISKOUT_BTS

Risk Management Platform for the Military |🏅국방부장관상(Minister of National Defense Award)
https://riskout.org/
GNU General Public License v3.0
20 stars 1 forks source link

[axios 사용시 token 문제] #226

Closed cjnghn closed 2 years ago

cjnghn commented 2 years ago

/lib/api/client.js 를 추가하였고, import axios from 'axios' 대신 import client from '../lib/api/client'로 바꿔 axios.get 대신 client.get 등으로 코드를 바꾸면 token 이용가능하십니다.

cjnghn commented 2 years ago

해당 내용 #228 , PR 날렸습니다.