mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Lint
This commit is contained in:
parent
ee0f429e8f
commit
5b0d17459e
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ router.get("/api/status-page/:slug/manifest.json", cache("1440 minutes"), async
|
||||||
// overall status-page status badge
|
// overall status-page status badge
|
||||||
router.get("/api/status-page/:slug/badge", cache("5 minutes"), async (request, response) => {
|
router.get("/api/status-page/:slug/badge", cache("5 minutes"), async (request, response) => {
|
||||||
allowDevAllOrigin(response);
|
allowDevAllOrigin(response);
|
||||||
const slug = request.params.slug;
|
let slug = request.params.slug;
|
||||||
slug = slug.toLowerCase();
|
slug = slug.toLowerCase();
|
||||||
const statusPageID = await StatusPage.slugToID(slug);
|
const statusPageID = await StatusPage.slugToID(slug);
|
||||||
const {
|
const {
|
||||||
|
|
Loading…
Reference in a new issue