Skip to content

Commit 6e31852

Browse files
committed
Add active group to the beginning of the array, it's more important
1 parent 609f88f commit 6e31852

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"start": "bun run src/main.ts",
1313
"dev": "bun run --watch src/main.ts"
1414
},
15-
"version": "0.3.0",
15+
"version": "0.3.1",
1616
"devDependencies": {
1717
"@types/bun": "latest"
1818
},

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(",").concat("active") : ["active"],
2+
allowedGroups: process.env.ALLOWED_GROUPS ? process.env.ALLOWED_GROUPS.split(",").splice(0, 0, "active") : ["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)