- fix link bot for Test Envinroment

- If invite not exist, error message
- Username (where name and surname don't exists).
This commit is contained in:
paoloar77
2022-02-09 19:48:39 +01:00
parent 08b99bf3f8
commit 57a396c374
24 changed files with 106 additions and 65 deletions

View File

@@ -667,7 +667,7 @@ module.exports = {
sendBackNotif: function(subscription, payload) {
console.log('sendBackNotif:', subscription, payload);
// console.log('sendBackNotif:', subscription, payload);
const pushOptions = {
vapidDetails: {
@@ -2319,7 +2319,7 @@ module.exports = {
},
blockwords(mystr) {
const arrwords = ['http', 'Http', 'Asasfasfas', '://', 'mrbit', 'admin', 'info', 'superuser'];
const arrwords = ['http', 'Http', 'Asasfasfas', '://', 'mrbit', 'admin', 'superuser'];
for (const myword of arrwords) {
if (mystr.includes(myword)) {
return true;
@@ -2445,4 +2445,8 @@ module.exports = {
return nome;
},
sulServer() {
return process.env.LOCALE !== '1'
}
};