Server stat filtered keywords change

This commit is contained in:
mrfry 2021-04-04 14:17:43 +02:00
parent 7e70aa6c8e
commit 724796496c
3 changed files with 12 additions and 5 deletions

View file

@ -27,18 +27,20 @@ const coloredWords = {
'ranklist', 'ranklist',
'allqr', 'allqr',
'possibleAnswers', 'possibleAnswers',
'irc',
], ],
blue: ['isadding', 'ask'], blue: ['isadding', 'ask'],
magenta: [ magenta: [
'donate', 'addPost',
'tiszai', 'tiszai',
'install', 'install',
'irc',
'discord', 'discord',
'postfeedback', 'postfeedback',
'votetodo', 'votetodo',
'registerscript', 'registerscript',
'quickvote', 'quickvote',
'comment',
'react'
], ],
} }
const filterFromDailyStats = [ const filterFromDailyStats = [
@ -47,11 +49,16 @@ const filterFromDailyStats = [
'sound/', 'sound/',
'/img/', '/img/',
'.php', '.php',
'/wordpress/',
'/wp/',
'/wp-includes/',
'favicon', 'favicon',
'robots.txt', 'robots.txt',
'ads.txt', 'ads.txt',
'/f/', '/f/',
'.git', '.git',
'apple-touch-icon',
'/.env'
] ]
// ----------------------------------------------------------------- // -----------------------------------------------------------------
@ -83,7 +90,7 @@ function getDayIndex(offset) {
} }
function hr(char) { function hr(char) {
console.log(C('blue') + getLetterNTimes(char || '-', cols) + C()) console.log(C('blue') + getLetterNTimes(char || '=', cols) + C())
} }
function printHeader(text) { function printHeader(text) {

@ -1 +1 @@
Subproject commit 73c1cb76f096b728d156d8d50b06c80b99049cac Subproject commit 9687a1157aca4ad7ebc22b8afe9f7099c121de93

@ -1 +1 @@
Subproject commit 47a2227f87f4f2ca726c16328006de174fa04aac Subproject commit 4c4fb1dacce3306de27407b501000851822394a4