From 221270721eac7321c393b523f16679eec999af2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <git@minelli.swiss>
Date: Mon, 7 Oct 2024 17:42:47 +0200
Subject: [PATCH] SharedConfig => Remove vars given by a request to the server

---
 config/SharedConfig.ts | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/config/SharedConfig.ts b/config/SharedConfig.ts
index 5bd7b65..2e1cf15 100644
--- a/config/SharedConfig.ts
+++ b/config/SharedConfig.ts
@@ -4,42 +4,11 @@ class SharedConfig {
 
     public readonly logsFolder: string;
 
-    public gitlab: {
-        URL: string, apiURL: string
-    };
-
-    public readonly login: {
-        gitlab: {
-            client: {
-                id: string
-            }, url: {
-                redirect: string, token: string
-            }
-        }
-    };
-
 
     constructor() {
         this.production = process.env.NODE_ENV === 'production';
 
         this.logsFolder = process.env.LOGS_FOLDER ?? '';
-
-        this.gitlab = {
-            URL   : process.env.GITLAB_URL ?? '',
-            apiURL: process.env.GITLAB_API_URL ?? ''
-        };
-
-        this.login = {
-            gitlab: {
-                client: {
-                    id: process.env.LOGIN_GITLAB_CLIENT_ID ?? ''
-                },
-                url   : {
-                    redirect: process.env.LOGIN_GITLAB_URL_REDIRECT ?? '',
-                    token   : process.env.LOGIN_GITLAB_URL_TOKEN ?? ''
-                }
-            }
-        };
     }
 }
 
-- 
GitLab