mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-05 06:52:11 +08:00
Fix crowdsec widget with no bans / alerts
This commit is contained in:
@@ -71,10 +71,6 @@ export default async function crowdsecProxyHandler(req, res) {
|
||||
|
||||
logger.debug("Calling Crowdsec API endpoint: %s", endpoint);
|
||||
|
||||
if (endpoint.indexOf("decisions") === 0) {
|
||||
delete params.headers.Authorization;
|
||||
}
|
||||
|
||||
const [status, , data] = await httpProxy(url, params);
|
||||
|
||||
if (status !== 200) {
|
||||
|
||||
Reference in New Issue
Block a user