fix: update .gitignore #1
4 changed files with 9 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
uptimetracker
|
||||
uptimetracker.log
|
||||
config.json
|
||||
|
|
@ -10,7 +10,7 @@ A lightweight HTTP uptime monitor written in Go. Checks a list of URLs at a conf
|
|||
|
||||
## Configuration
|
||||
|
||||
Edit `config.json`:
|
||||
Copy `config.json.example` as `config.json` and edit it:
|
||||
|
||||
```json
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"interval_seconds": 30,
|
||||
"discord_webhook": "https://discord.com/api/webhooks/1476280778215264387/CCnXB03_MgwYUUKWQcw2PKFihny8UyDk4knqdPmnS85McjIFdokVW6MlkhBgLcv0yAZv",
|
||||
"targets": [
|
||||
{ "name": "OpenIssue", "url": "https://openissue.io" }
|
||||
]
|
||||
}
|
||||
7
config.json.example
Normal file
7
config.json.example
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"interval_seconds": 30,
|
||||
"discord_webhook": "",
|
||||
"targets": [
|
||||
{ "name": "OpenIssue", "url": "https://openissue.io" }
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue