mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-13 15:06:59 +08:00
Update send403 to sendHttpError
This commit is contained in:
@@ -233,7 +233,7 @@ router.get("/api/status-page/:slug/badge", cache("5 minutes"), async (request, r
|
|||||||
response.send(svg);
|
response.send(svg);
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
send403(response, error.message);
|
sendHttpError(response, error.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user