Skip to content

Commit

Permalink
remove base url for production
Browse files Browse the repository at this point in the history
  • Loading branch information
Precious-Macaulay committed Nov 9, 2024
1 parent a793f30 commit e20e0e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/apiClient.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import axios, { AxiosInstance, AxiosResponse, AxiosError } from 'axios';

const BASE_URL = "https://redesigned-space-potato-qg9pj9g9g45299x5-5000.app.github.dev/"
// const BASE_URL = "https://5000-astriaai-imagine-t7a0u5m1trj.ws-eu116.gitpod.io/"

const apiClient: AxiosInstance = axios.create({
baseURL: BASE_URL,
// baseURL: BASE_URL,
headers: {
'Content-Type': 'application/json',
Accept: 'application/json',
Expand All @@ -13,7 +13,7 @@ const apiClient: AxiosInstance = axios.create({

// multipart form data api client2
const apiClient2: AxiosInstance = axios.create({
baseURL: BASE_URL,
// baseURL: BASE_URL,
headers: {
'Content-Type': 'multipart/form-data',
Accept: 'application/json',
Expand Down

0 comments on commit e20e0e6

Please sign in to comment.