chore: fix CI
This commit is contained in:
@@ -70,7 +70,7 @@ jobs:
|
|||||||
working-directory: mobile
|
working-directory: mobile
|
||||||
env:
|
env:
|
||||||
EAS_BUILD_NO_EXPO_GO_WARNING: true
|
EAS_BUILD_NO_EXPO_GO_WARNING: true
|
||||||
run: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && --profile production || --profile preview }} eas build --platform android --profile production --non-interactive
|
run: eas build --platform android ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && '--profile production' || '--profile preview' }} --non-interactive
|
||||||
|
|
||||||
- name: Download production APK
|
- name: Download production APK
|
||||||
working-directory: mobile
|
working-directory: mobile
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ const apiClient = axios.create({
|
|||||||
});
|
});
|
||||||
|
|
||||||
apiClient.interceptors.request.use(async (config) => {
|
apiClient.interceptors.request.use(async (config) => {
|
||||||
// Determine which token to use based on URL
|
|
||||||
const isAdminRoute =
|
const isAdminRoute =
|
||||||
config.url?.includes("/api/v2/") ||
|
config.url?.includes("/api/v2/") ||
|
||||||
config.url?.includes("/api/v1/cabine/") ||
|
config.url?.includes("/api/v1/cabine/") ||
|
||||||
|
|||||||
Reference in New Issue
Block a user