From a580eaa66672856ae2263a15858acae2de4e1462 Mon Sep 17 00:00:00 2001 From: Evgenii Abramov Date: Sun, 16 May 2021 19:02:01 +0300 Subject: [PATCH] c --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index d52a987..72f4c2c 100644 --- a/app.js +++ b/app.js @@ -5,7 +5,7 @@ const path = require('path'); /* */ const {createLogger, format, transports} = require('winston'); const {combine, timestamp, printf} = format; -var nullTransport = require('winston-null'); +const {NullTransport: nullTransport} = require('winston-null'); /* express and https */ const ejs = require('ejs'); const express = require('express');