From 41d366dec0835283db117ed5f11a0932fbbb4d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Wed, 5 Jul 2023 17:45:13 +0200 Subject: [PATCH] App => Import TypeScriptExtension --- ExpressAPI/src/app.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ExpressAPI/src/app.ts b/ExpressAPI/src/app.ts index 938043e..df00fc0 100644 --- a/ExpressAPI/src/app.ts +++ b/ExpressAPI/src/app.ts @@ -1,6 +1,5 @@ -// Read from the .env file -// ATTENTION : This line MUST be the first of this file -require('dotenv').config(); +require('dotenv').config(); // ATTENTION : This line MUST be the first of this file +require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file import WorkerRole from './process/WorkerRole'; import ClusterManager from './process/ClusterManager'; @@ -10,6 +9,7 @@ import HttpManager from './managers/HttpManager'; HttpManager.registerAxiosInterceptor(); + (new ClusterManager([ { role : WorkerRole.API, quantity : ClusterManager.CORES, -- GitLab