瀏覽代碼

update

master
cyril.tsui 1 年之前
父節點
當前提交
66bfe735b2
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      src/auth/index.js

+ 0
- 1
src/auth/index.js 查看文件

@@ -110,7 +110,6 @@ export const SetupAxiosInterceptors = () => {
// ** If token is present add it to request's Authorization Header
if (isUserLoggedIn()) {
config.headers.Authorization = `${jwtApplicationConfig.tokenType} ${accessToken}`
config.data = config.data === undefined ? JSON.stringify({refreshToken:null}) : config.data
}
config.headers['X-Authorization'] = process.env.REACT_APP_API_KEY
return config


Loading…
取消
儲存