Skip to content

Commit 5162b85

Browse files
committed
remove App-Version header
1 parent 190a635 commit 5162b85

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/axios.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Axios from 'axios'
2-
import { getAppVersion } from 'src/utils/Os'
32
import { ResponseInterceptor } from './interceptors/ResponseInterceptor'
43
const packageFile = require('../../package.json')
54

@@ -9,8 +8,8 @@ const getBaseApi = (fallback: string | null = null) => {
98

109
export const axios = Axios.create({
1110
baseURL: getBaseApi(),
12-
headers: {
11+
/*headers: {
1312
'App-Version': getAppVersion() || '0.0.0',
14-
},
13+
},*/
1514
})
1615
axios.interceptors.response.use(ResponseInterceptor)

0 commit comments

Comments
 (0)