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) {