vue2_frontend...
This commit is contained in:
parent
9a6eb3ca74
commit
e8e4e2f271
@ -3,7 +3,7 @@ import tokenService from '../service/token.service'
|
|||||||
const interceptor = (instance) => {
|
const interceptor = (instance) => {
|
||||||
//API Request 전 처리용
|
//API Request 전 처리용
|
||||||
instance.defaults.headers.post['Content-Type'] =
|
instance.defaults.headers.post['Content-Type'] =
|
||||||
'application/x-www-form-urlencoded'
|
'application/x-www-form-urlencoded' //Post방식 접근
|
||||||
instance.defaults.headers.get['Accepts'] = 'application/json'
|
instance.defaults.headers.get['Accepts'] = 'application/json'
|
||||||
instance.defaults.timeout = 2500
|
instance.defaults.timeout = 2500
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user