Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Update README.md #18

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<h1>Uptimo</h1>
</div>

Check https://github.com/xHyroM/Uptimo/issues/17
🍭 Open-Source uptime script! [Demo](https://uptime.hyrousek.tk/)<br>
🍬 Database: SQLITE (quick.db) and MongoDB<br>
🍫 Language: JavaScript, HTML (NodeJS)<br>
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"rateLimitmessage": "Too many urls added from this IP, please try again after an hour",
"rateLimitmax": 3,
"registerMax": 2,
"registerMax": 3,
"registerMessage": "Too many accounts added from this IP"
}
6 changes: 3 additions & 3 deletions ping.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const db = require("quick.db")
const axios = require("axios")
const db = require("quick.db");
const axios = require("axios");

var check = {
true: "online",
false: "offline"
}

setInterval(() => {
const d = db.get("urls")
const d = db.get("urls");
d.forEach(url => {
var r = url.split("<")[0]

Expand Down