chore: CI
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"simulator": true
|
||||
},
|
||||
"env": {
|
||||
"API_URL": "https://5.181.0.112.nip.io"
|
||||
"API_URL": "https://mln-uber.club"
|
||||
}
|
||||
},
|
||||
"preview": {
|
||||
@@ -24,7 +24,7 @@
|
||||
"buildType": "apk"
|
||||
},
|
||||
"env": {
|
||||
"API_URL": "https://5.181.0.112.nip.io"
|
||||
"API_URL": "https://mln-uber.club"
|
||||
}
|
||||
},
|
||||
"production": {
|
||||
@@ -34,7 +34,7 @@
|
||||
"buildType": "apk"
|
||||
},
|
||||
"env": {
|
||||
"API_URL": "https://5.181.0.112.nip.io"
|
||||
"API_URL": "https://mln-uber.club"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,9 +9,9 @@ import type {
|
||||
Alert,
|
||||
} from "./types";
|
||||
|
||||
const V2 = "https://5.181.0.112.nip.io/api/v2";
|
||||
const CABINE_URL = "https://5.181.0.112.nip.io/api/v1/cabine";
|
||||
const V1_PUBLIC = "https://5.181.0.112.nip.io/api/v1";
|
||||
const V2 = "https://mln-uber.club/api/v2";
|
||||
const CABINE_URL = "https://mln-uber.club/api/v1/cabine";
|
||||
const V1_PUBLIC = "https://mln-uber.club/api/v1";
|
||||
|
||||
export const loginAdmin = async (
|
||||
username: string,
|
||||
|
||||
@@ -6,8 +6,8 @@ import type {
|
||||
Alert,
|
||||
} from "./types";
|
||||
|
||||
const API = "https://5.181.0.112.nip.io/api/v1/cabine";
|
||||
const V2 = "https://5.181.0.112.nip.io/api/v2";
|
||||
const API = "https://mln-uber.club/api/v1/cabine";
|
||||
const V2 = "https://mln-uber.club/api/v2";
|
||||
|
||||
// ============================================
|
||||
// ITEMS
|
||||
|
||||
@@ -7,7 +7,7 @@ import type {
|
||||
Alert,
|
||||
} from "./types";
|
||||
|
||||
const API = "https://5.181.0.112.nip.io/api/v1/livreur";
|
||||
const API = "https://mln-uber.club/api/v1/livreur";
|
||||
|
||||
// ============================================
|
||||
// STATUT
|
||||
|
||||
@@ -2,7 +2,7 @@ import axios from "axios";
|
||||
import { getToken, getAdminToken } from "../auth/tokenStorage";
|
||||
|
||||
// Change this to your server IP/domain
|
||||
export const API_BASE_URL = "https://5.181.0.112.nip.io";
|
||||
export const API_BASE_URL = "https://mln-uber.club";
|
||||
|
||||
const apiClient = axios.create({
|
||||
baseURL: API_BASE_URL,
|
||||
|
||||
Reference in New Issue
Block a user