Version "0.5.1" with RIS Circuit Money Exchange !
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user