chore: Update Fetcher and TokenManager to use API v1

This commit is contained in:
Mo Tarbin
2025-01-02 23:10:36 -05:00
parent 1d0f9ed1ed
commit 989137211e
3 changed files with 8 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ import { Preferences } from '@capacitor/preferences'
class ApiManager {
constructor() {
this.customServerURL = API_URL
this.customServerURL = `${API_URL}/api/v1`
this.initialized = false
}
async init() {
@@ -17,7 +17,7 @@ class ApiManager {
key: 'customServerUrl',
})
this.customServerURL = serverURL || API_URL
this.customServerURL = `${serverURL || API_URL}/api/v1`
this.initialized = true
}
getApiURL() {