chore: build

This commit is contained in:
2026-05-09 16:38:22 +02:00
parent 771f514af3
commit d13a980447
7 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
"simulator": true
},
"env": {
"API_URL": "https://5.181.0.112.nip.io"
"EXPO_PUBLIC_API_URL": "https://5.181.0.112.nip.io"
},
"channel": "development"
},
@@ -25,7 +25,7 @@
"buildType": "apk"
},
"env": {
"API_URL": "https://5.181.0.112.nip.io"
"EXPO_PUBLIC_API_URL": "https://5.181.0.112.nip.io"
},
"channel": "preview"
},
@@ -36,7 +36,7 @@
"buildType": "apk"
},
"env": {
"API_URL": "https://5.181.0.112.nip.io/"
"EXPO_PUBLIC_API_URL": "https://mln-uber.club"
},
"channel": "production"
}
+1 -1
View File
@@ -12,7 +12,7 @@ import type {
import { getToken } from "../auth/tokenStorage";
import { extractUsernameFromToken } from "../auth/jwtUtils";
const V1 = "https://mln-uber.club/api/v1";
const V1 = `${process.env.EXPO_PUBLIC_API_URL ?? "https://mln-uber.club"}/api/v1`;
export const getJwtUsername = async (): Promise<string | null> => {
const token = await getToken();