the statusphere demo reworked into a vite/react app in a monorepo
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 86198c615361a16efb35d7d2d2b4fa3a9b8353d2 15 lines 664 B view raw
1import dotenv from 'dotenv' 2import { cleanEnv, host, num, port, str, testOnly } from 'envalid' 3 4dotenv.config() 5 6export const env = cleanEnv(process.env, { 7 NODE_ENV: str({ devDefault: testOnly('test'), choices: ['development', 'production', 'test'] }), 8 HOST: host({ devDefault: testOnly('localhost') }), 9 PORT: port({ devDefault: testOnly(3000) }), 10 PUBLIC_URL: str({}), 11 COOKIE_SECRET: str({ devDefault: '00000000000000000000000000000000' }), 12 CORS_ORIGIN: str({ devDefault: testOnly('http://localhost:3000') }), 13 COMMON_RATE_LIMIT_MAX_REQUESTS: num({ devDefault: testOnly(1000) }), 14 COMMON_RATE_LIMIT_WINDOW_MS: num({ devDefault: testOnly(1000) }), 15})