added app. befor boursemes
This commit is contained in:
+2
-2
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user