versione 1.2.14 :

- aggiornati i file di configurazione, ENV e script non funzionanti., package.
- corretto custom-service-worker.js con CORS
- ottimizzato il server, la chiamata Load iniziale (senza promise, con async/await).
This commit is contained in:
Surya Paolo
2025-03-12 21:02:51 +01:00
parent cc541b1e6f
commit 834203ffbb
135 changed files with 572 additions and 1965 deletions

View File

@@ -5406,7 +5406,7 @@ export const tools = {
isVerified(): boolean {
const globalStore = useGlobalStore()
const site = globalStore.site
if (site.confpages.enableRegMultiChoice) {
if (site.confpages?.enableRegMultiChoice) {
return this.TelegVerificato() || this.isEmailVerified()
}
@@ -5441,7 +5441,7 @@ export const tools = {
getLinkUserTelegramByUser(userprofile: IUserFields) {
if (userprofile) {
if (userprofile.profile.username_telegram) {
if (userprofile.profile?.username_telegram) {
return 'https://t.me/' + userprofile.profile.username_telegram
}
} else {
@@ -7960,7 +7960,11 @@ export const tools = {
return config[name]*/
try {
return name ? import.meta.env[name] : ''
let myenv = name ? import.meta.env[name] : ''
// console.log('--- ENV: ', name, myenv)
return myenv
} catch (e) {
return ''
}