Skip to content

Commit 957fc16

Browse files
committed
Did I tell you that I hate JS?
1 parent 6e31852 commit 957fc16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = {
2-
allowedGroups: process.env.ALLOWED_GROUPS ? process.env.ALLOWED_GROUPS.split(",").splice(0, 0, "active") : ["active"],
2+
allowedGroups: process.env.ALLOWED_GROUPS ? ["active", ...process.env.ALLOWED_GROUPS.split(",")] : ["active"],
33
logLevel: process.env.LOG_LEVEL || "info",
44
port: process.env.PORT ? parseInt(process.env.PORT) : 3000,
55
redisUri: process.env.REDIS_URI || null,

0 commit comments

Comments
 (0)