refact: cleanup

This commit is contained in:
Morten Olsen
2025-10-16 16:43:44 +02:00
parent 7c30e43ef7
commit 9ba5788d20
19 changed files with 61 additions and 65 deletions

View File

@@ -3,6 +3,10 @@ class Config {
return process.env.TOKEN_SECRET;
}
public get adminToken() {
return process.env.ADMIN_TOKEN;
}
public get oidc() {
const enabled = process.env.OIDC_ENABLED === 'true';
const discoveryUrl = process.env.OIDC_DISCOVERY_URL;