diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-06 12:26:29 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-06 12:26:29 +0000 |
| commit | 083ea5bd19172381bb53e95aaf98eaabef839c54 (patch) | |
| tree | 4d1c041aab7cd8d15382330db08caeb9c5a12c63 /lib/config.ts | |
| parent | b792121977ade8bdd3fb62704b65a9fcbd1436b9 (diff) | |
| download | karakeep-083ea5bd19172381bb53e95aaf98eaabef839c54.tar.zst | |
Move the web app into a subdir
Diffstat (limited to 'lib/config.ts')
| -rw-r--r-- | lib/config.ts | 20 |
1 files changed, 0 insertions, 20 deletions
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; |
