From 6b77ae835be793c6046690adc2626e3ece999f7d Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 18 Dec 2024 12:12:08 -0800 Subject: [PATCH] Update proxy.js --- src/widgets/beszel/proxy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/beszel/proxy.js b/src/widgets/beszel/proxy.js index 61bc969b4..fde60bfe3 100644 --- a/src/widgets/beszel/proxy.js +++ b/src/widgets/beszel/proxy.js @@ -54,7 +54,7 @@ export default async function beszelProxyHandler(req, res) { if (!token) { [status, token] = await login(loginUrl, widget.username, widget.password, service); if (status !== 200) { - logger.debug(`HTTP ${status} logging into npm api: ${token}`); + logger.debug(`HTTP ${status} logging into Beszel: ${token}`); return res.status(status).send(token); } } @@ -68,12 +68,12 @@ export default async function beszelProxyHandler(req, res) { }); if (status === 403) { - logger.debug(`HTTP ${status} retrieving data from npm api, logging in and trying again.`); + logger.debug(`HTTP ${status} retrieving data from Beszel, logging in and trying again.`); cache.del(`${tokenCacheKey}.${service}`); [status, token] = await login(loginUrl, widget.username, widget.password, service); if (status !== 200) { - logger.debug(`HTTP ${status} logging into npm api: ${data}`); + logger.debug(`HTTP ${status} logging into Beszel: ${data}`); return res.status(status).send(data); }