Created Test Environment test.freeplanet.app

and Server: /var/www/test.freeplanet_server
This commit is contained in:
Paolo Arena
2021-09-28 23:44:55 +02:00
parent c16d444d1b
commit 489c4fecc7
39 changed files with 230 additions and 108 deletions

View File

@@ -275,10 +275,10 @@ export default defineComponent({
let strv = ''
if (process.env.DEV) {
strv = 'DEV '
} else if (process.env.TEST) {
} else if (tools.isTest()) {
strv = 'TEST '
}
return `[${strv}${process.env.APP_VERSION}]`
return `[${strv} ver. ${process.env.APP_VERSION}]`
}
function getLangAtt() {
@@ -344,7 +344,13 @@ export default defineComponent({
}
function getappname() {
return tools.getsuffisso() + tools.getappname(tools.isMobile())
let mystr = tools.getsuffisso() + tools.getappname(tools.isMobile())
//if (!tools.isMobile()) {
mystr += ' ' + getAppVersion()
//}
return mystr
}
function toggleanimation() {
@@ -474,6 +480,7 @@ export default defineComponent({
getMsgText,
paotest,
logoutHandler,
isUserNotAuth,
}
},