utils updated

master
hamed 3 years ago
parent 5169182cd8
commit 95cbd375cb
  1. 2
      src/services/api/utils.js

@ -68,7 +68,7 @@ export const getUrl = async (endpoint, dev) => {
return apiConfig.splash + endpoint return apiConfig.splash + endpoint
} }
let base_urls = await getBaseUrls() let base_urls = await getBaseUrls()
return `${base_urls.backend}/v1.1${endpoint}` return base_urls.backend + endpoint
} }
export const isUnexpected = (statusCode) => { export const isUnexpected = (statusCode) => {

Loading…
Cancel
Save