Consolidate .env files. More work on dev containers.
This commit is contained in:
parent
2a959f354c
commit
3773d659cc
17 changed files with 137 additions and 106 deletions
|
@ -1,6 +1,8 @@
|
|||
import { env } from "./env";
|
||||
|
||||
/**
|
||||
* Zeppelin staff have full access to the dashboard
|
||||
*/
|
||||
export function isStaff(userId: string) {
|
||||
return (process.env.STAFF ?? "").split(",").includes(userId);
|
||||
return (env.STAFF ?? []).includes(userId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue