work-timer/app/config.server.ts
2023-02-23 01:19:14 +01:00

8 lines
159 B
TypeScript

export const ALLOW_USER_SIGNUP = Boolean(
process.env.ALLOW_USER_SIGNUP || false
);
export const isSignupAllowed = () => {
return !!ALLOW_USER_SIGNUP;
};