mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
chore: comment in Outage.Report (#5955)
This commit is contained in:
@@ -4,7 +4,7 @@ const baseUrl = 'https://outage.report/';
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const serviceName = ctx.params.name; // Which service do you want to monitor? Have to be the same as what it appears in URL.
|
||||
const watchCount = ctx.params.count || 10; // How many reports is received during last 20 minutes? 20 reports as default.
|
||||
const watchCount = ctx.params.count || 10; // How many reports is received during last 20 minutes? 10 reports as default.
|
||||
const URL = `${baseUrl}${serviceName}`;
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
|
||||
Reference in New Issue
Block a user