mirror of
https://github.com/Kizuren/statusPage.git
synced 2026-01-02 12:34:25 +01:00
Implemented config.js
This commit is contained in:
parent
b5751f1d44
commit
879204788c
1 changed files with 19 additions and 3 deletions
22
config.js
22
config.js
|
|
@ -1,8 +1,24 @@
|
|||
export default {
|
||||
"port" : 2600,
|
||||
"sites" : [
|
||||
verbose : true,
|
||||
interval : 15, // In minutes
|
||||
responseTimeGood : 300, // In milliseconds, this and below will be green
|
||||
responseTimeWarning : 600, // In milliseconds, above this will be red
|
||||
timeout : 5000, // In milliseconds, requests will be aborted above this. (Do not )
|
||||
sites : [
|
||||
{
|
||||
|
||||
id : 'google',
|
||||
name : 'Google',
|
||||
endpoints : [
|
||||
{
|
||||
name : 'Homepage',
|
||||
url : 'https://www.google.com',
|
||||
request : {
|
||||
method: 'GET',
|
||||
},
|
||||
mustFind : 'Feeling Lucky',
|
||||
mustNotFind : /not found/i,
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue