Skip to content

Commit

Permalink
remove App-Version header
Browse files Browse the repository at this point in the history
  • Loading branch information
medyo committed Nov 19, 2023
1 parent 190a635 commit 5162b85
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/axios.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Axios from 'axios'
import { getAppVersion } from 'src/utils/Os'
import { ResponseInterceptor } from './interceptors/ResponseInterceptor'
const packageFile = require('../../package.json')

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

export const axios = Axios.create({
baseURL: getBaseApi(),
headers: {
/*headers: {
'App-Version': getAppVersion() || '0.0.0',
},
},*/
})
axios.interceptors.response.use(ResponseInterceptor)

0 comments on commit 5162b85

Please sign in to comment.