update
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 18s

This commit is contained in:
0d0 2025-04-19 18:18:45 +02:00
parent 3dc834daf0
commit 67e521b7b4
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
NODE_ENV=development
HOST=0.0.0.0
ORIGIN=https://dl.emersa.it
YTDLP_PATH=./yt-dlp

View file

@ -3,7 +3,7 @@ import winston from 'winston';
import { dev } from '$app/environment';
export const logger = winston.createLogger({
level: dev ? 'debug' : 'error',
level: import.meta.env.DEV ? 'debug' : 'error',
format: winston.format.json(),
transports: [new winston.transports.Console()]
});