From 083ea5bd19172381bb53e95aaf98eaabef839c54 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Tue, 6 Feb 2024 12:26:29 +0000 Subject: Move the web app into a subdir --- lib/config.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 lib/config.ts (limited to 'lib/config.ts') diff --git a/lib/config.ts b/lib/config.ts deleted file mode 100644 index ef86cb5a..00000000 --- a/lib/config.ts +++ /dev/null @@ -1,20 +0,0 @@ -function buildAuthentikConfig() { - let {id, secret, issuer} = process.env; - if (!id || !secret || !issuer) { - return undefined; - } - - return { - clientId: id, - clientSecret: secret, - issuer: issuer, - }; -} - -const serverConfig = { - auth: { - authentik: buildAuthentikConfig(), - } -}; - -export default serverConfig; -- cgit v1.2.3-70-g09d2