added app. befor boursemes
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
VITE_LOGIN_APP_URL=https://boursemes.com/home
|
VITE_LOGIN_APP_URL=https://app.boursemes.com/home
|
||||||
|
|||||||
+2
-2
@@ -22,7 +22,7 @@ export function getConfigApp(key: string) {
|
|||||||
/** Login URL در اپ اصلی */
|
/** Login URL در اپ اصلی */
|
||||||
export function getLoginAppUrl() {
|
export function getLoginAppUrl() {
|
||||||
const configured = import.meta.env.VITE_LOGIN_APP_URL
|
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()) {
|
if (typeof configured !== 'string' || !configured.trim()) {
|
||||||
return fallback
|
return fallback
|
||||||
@@ -37,7 +37,7 @@ export function getLoginInstallPwaUrl() {
|
|||||||
const origin = new URL(getLoginAppUrl(), window.location.origin).origin
|
const origin = new URL(getLoginAppUrl(), window.location.origin).origin
|
||||||
return `${origin}/login?installPwa=true`
|
return `${origin}/login?installPwa=true`
|
||||||
} catch {
|
} catch {
|
||||||
return 'https://boursemes.com/login?installPwa=true'
|
return 'https://app.boursemes.com/login?installPwa=true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ import {AntDesignVueResolver} from 'unplugin-vue-components/resolvers'
|
|||||||
import Components from 'unplugin-vue-components/vite'
|
import Components from 'unplugin-vue-components/vite'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: '/landing/',
|
base: '/',
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
UnoCSS({
|
UnoCSS({
|
||||||
|
|||||||
Reference in New Issue
Block a user