mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Server stat filtered keywords change
This commit is contained in:
parent
7e70aa6c8e
commit
724796496c
3 changed files with 12 additions and 5 deletions
|
@ -27,18 +27,20 @@ const coloredWords = {
|
|||
'ranklist',
|
||||
'allqr',
|
||||
'possibleAnswers',
|
||||
'irc',
|
||||
],
|
||||
blue: ['isadding', 'ask'],
|
||||
magenta: [
|
||||
'donate',
|
||||
'addPost',
|
||||
'tiszai',
|
||||
'install',
|
||||
'irc',
|
||||
'discord',
|
||||
'postfeedback',
|
||||
'votetodo',
|
||||
'registerscript',
|
||||
'quickvote',
|
||||
'comment',
|
||||
'react'
|
||||
],
|
||||
}
|
||||
const filterFromDailyStats = [
|
||||
|
@ -47,11 +49,16 @@ const filterFromDailyStats = [
|
|||
'sound/',
|
||||
'/img/',
|
||||
'.php',
|
||||
'/wordpress/',
|
||||
'/wp/',
|
||||
'/wp-includes/',
|
||||
'favicon',
|
||||
'robots.txt',
|
||||
'ads.txt',
|
||||
'/f/',
|
||||
'.git',
|
||||
'apple-touch-icon',
|
||||
'/.env'
|
||||
]
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
|
@ -83,7 +90,7 @@ function getDayIndex(offset) {
|
|||
}
|
||||
|
||||
function hr(char) {
|
||||
console.log(C('blue') + getLetterNTimes(char || '-', cols) + C())
|
||||
console.log(C('blue') + getLetterNTimes(char || '=', cols) + C())
|
||||
}
|
||||
|
||||
function printHeader(text) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue