Skip to content

Commit 956b0a7

Browse files
committed
fix: remove some loggers
1 parent d0578c0 commit 956b0a7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

source/app/web/instance.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ export default async function({sandbox = false} = {}) {
538538
//Control endpoints
539539
if (conf.settings.control?.token) {
540540
const middleware = (req, res, next) => {
541-
console.log(`metrics/app/control > ${req.url.replace(/[\n\r]/g, "")}`)
541+
console.debug(`metrics/app/control > ${req.url.replace(/[\n\r]/g, "")}`)
542542
if (req.headers.authorization === conf.settings.control.token) {
543543
next()
544544
return

source/plugins/habits/index.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ export default async function({login, data, rest, imports, q, account}, {enabled
128128
const height = 160
129129
if (type === "line")
130130
return imports.Graph.line(Object.entries(data).map(([x, y]) => ({x: +x, y})), {low, high, ticks, labels, width, height})
131-
console.log(data)
132131
if (type === "pie")
133132
return imports.Graph.pie(data, {colors, width, height})
134133
return ""

0 commit comments

Comments
 (0)