diff --git a/config/SharedConfig.ts b/config/SharedConfig.ts index 5bd7b65bddf9e0441d51bf269c37f0cbfb8fa80f..2e1cf15fd8971c1a841882e28c3d62c58652defe 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 ?? '' - } - } - }; } }