Skip to content

Commit

Permalink
fix: remove some loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Sep 12, 2023
1 parent d0578c0 commit 956b0a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion source/app/web/instance.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ export default async function({sandbox = false} = {}) {
//Control endpoints
if (conf.settings.control?.token) {
const middleware = (req, res, next) => {
console.log(`metrics/app/control > ${req.url.replace(/[\n\r]/g, "")}`)
console.debug(`metrics/app/control > ${req.url.replace(/[\n\r]/g, "")}`)
if (req.headers.authorization === conf.settings.control.token) {
next()
return
Expand Down
1 change: 0 additions & 1 deletion source/plugins/habits/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ export default async function({login, data, rest, imports, q, account}, {enabled
const height = 160
if (type === "line")
return imports.Graph.line(Object.entries(data).map(([x, y]) => ({x: +x, y})), {low, high, ticks, labels, width, height})
console.log(data)
if (type === "pie")
return imports.Graph.pie(data, {colors, width, height})
return ""
Expand Down

0 comments on commit 956b0a7

Please sign in to comment.