From e9e1b489704768dd5368a832986198e89073d319 Mon Sep 17 00:00:00 2001 From: Yanis Rigaudeau Date: Wed, 26 Oct 2022 21:43:05 +0200 Subject: [PATCH] insomnia folder --- .gitignore | 1 + api/src/framework/express/server.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 3a0f46c..407bf9a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ **/config !.prettierrc.json +!.insomnia diff --git a/api/src/framework/express/server.ts b/api/src/framework/express/server.ts index 5150448..64478bd 100644 --- a/api/src/framework/express/server.ts +++ b/api/src/framework/express/server.ts @@ -20,6 +20,7 @@ class Server { this.config = config; this.app = express(); + this.app.disable('x-powered-by'); this.app.use(express.json()); this.app.use( cors({