Commit 9f83dd59 authored by CompileNix's avatar CompileNix

format Config.example.js

parent bc43a932
class Config {
constructor() {
this.filesToWatch = [
'test.txt',
'test1.txt'
];
this.expressions = [
{ match: /HTTP\/\d\.\d\" 404/g, subject: 'HTTP 404: ' },
{ match: /HTTP\/\d\.\d\" 5\d{2}/g, subject: 'HTTP 5xx: ' }
];
this.enableEmail = false;
this.smtpUsername = 'smtp login username';
this.smtpPassword = 'password';
......@@ -9,14 +18,7 @@ class Config {
this.mailfrom = 'foo@bar.local';
this.mailto = 'foo@bar.local';
this.subjectPrefix = 'access_log mailer: ';
this.filesToWatch = [
'test.txt',
'test1.txt'
];
this.expressions = [
{ match: /HTTP\/\d\.\d\" 404/g, subject: 'HTTP 404: ' },
{ match: /HTTP\/\d\.\d\" 5\d{2}/g, subject: 'HTTP 5xx: ' }
];
this.enableSlack = false;
this.slackWebHookUri = 'https://hooks.slack.com/services/xxxxxx/xxxxxx/xxxxxx';
this.slackChannel = '#general';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment