From 9175cb8b5f933a45c11faf5a4e8401c888f27159 Mon Sep 17 00:00:00 2001 From: Nikola Petrov Date: Wed, 17 Jul 2024 00:45:12 +0200 Subject: [PATCH] remove loging by defolt --- app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.ts b/app.ts index 7ea5edd..1efcaa8 100644 --- a/app.ts +++ b/app.ts @@ -1,6 +1,5 @@ import express from "express"; import path from 'path' -import morgan from 'morgan' import 'dotenv/config' const hostname = '127.0.0.1'; @@ -11,7 +10,8 @@ const app = express(); app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'hbs'); -app.use(morgan('dev')); +// import morgan from 'morgan' +// app.use(morgan('dev')); app.use(express.json()); app.use(express.urlencoded({ extended: false })); app.use(express.static(path.join(__dirname, 'public')));