added app. befor boursemes

This commit is contained in:
2026-08-11 15:03:13 +03:30
parent bc33195e1c
commit 69ed2e05c2
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ export function getConfigApp(key: string) {
/** Login URL در اپ اصلی */
export function getLoginAppUrl() {
const configured = import.meta.env.VITE_LOGIN_APP_URL
const fallback = 'https://boursemes.com/home'
const fallback = 'https://app.boursemes.com/home'
if (typeof configured !== 'string' || !configured.trim()) {
return fallback
@@ -37,7 +37,7 @@ export function getLoginInstallPwaUrl() {
const origin = new URL(getLoginAppUrl(), window.location.origin).origin
return `${origin}/login?installPwa=true`
} catch {
return 'https://boursemes.com/login?installPwa=true'
return 'https://app.boursemes.com/login?installPwa=true'
}
}