From 289483298ecc570535365669b11862106375b07f Mon Sep 17 00:00:00 2001 From: Evgeny Talagaev Date: Mon, 16 Oct 2023 18:19:51 +0300 Subject: [PATCH] Fix express error --- server.ts | 1 - tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server.ts b/server.ts index 23b959292..ddb79ddda 100644 --- a/server.ts +++ b/server.ts @@ -13,7 +13,6 @@ app.use(cors()); app.use(express.static('build')); -// @ts-ignore app.get('*', (req, res) => { res.sendFile(path.join(__dirname, 'build/index.html')) }) diff --git a/tsconfig.json b/tsconfig.json index 1b94f9f57..c98056eed 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "esModuleInterop": true, "noEmit": true, "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedParameters": false, "noImplicitAny": true, "noImplicitReturns": true, "skipLibCheck": true,