Version "0.5.1" with RIS Circuit Money Exchange !

This commit is contained in:
Paolo Arena
2022-09-14 19:14:56 +02:00
parent f86d8cb7d1
commit a194acfc69
12 changed files with 80 additions and 78 deletions

View File

@@ -1688,14 +1688,16 @@ export const useGlobalStore = defineStore('GlobalStore', {
if (process.env.DEBUGGING) {
myserv = 'http://localhost:3000'; // 'http://192.168.1.54:3000'
} else {
myserv = process.env.MONGODB_HOST!
}
if (!myserv) {
if (this.serverHost) {
myserv = this.serverHost
} else {
myserv = process.env.MONGODB_HOST!
}
// if (this.serverHost) {
// myserv = this.serverHost
// } else {
// myserv = process.env.MONGODB_HOST!
// }
}
return myserv