Skip to content

Commit

Permalink
Merge pull request #20 from pyronear/change-to-prod-endpoint
Browse files Browse the repository at this point in the history
Change to prod endpoint
  • Loading branch information
aumeunier authored May 2, 2024
2 parents d70ad9e + 5cc8aea commit 3d18be3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches:
- main
- build-github-action
- develop
- change-to-prod-endpoint

jobs:
build:
Expand All @@ -21,13 +22,13 @@ jobs:
npm install
- name: Build Android Release
run: |
cd android && ./gradlew assembleDebug --no-daemon
cd android && ./gradlew assembleRelease --no-daemon
- name: List files
run: |
ls -R android/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: app-debug.apk
path: ./PyroApp/android/app/build/outputs/apk/debug/app-debug.apk
name: app-release.apk
path: ./PyroApp/android/app/build/outputs/apk/release/app-release.apk
retention-days: 30
2 changes: 1 addition & 1 deletion PyroApp/services/apiClient.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';
import {authService} from './auth.service';

const apiClient = axios.create({
baseURL: 'https://apidev.pyronear.org',
baseURL: 'https://api.pyronear.org',
timeout: 5000,
headers: {'Content-Type': 'application/json', Accept: 'application/json'},
});
Expand Down

0 comments on commit 3d18be3

Please sign in to comment.