Skip to content

Commit

Permalink
Remove unused variables from env (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkizka authored Sep 9, 2024
1 parent ad399db commit 9cd25e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/env.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import dotenv from 'dotenv'
import { cleanEnv, host, num, port, str, testOnly } from 'envalid'
import { cleanEnv, host, port, str, testOnly } from 'envalid'

dotenv.config()

Expand All @@ -13,6 +13,4 @@ export const env = cleanEnv(process.env, {
PUBLIC_URL: str({}),
DB_PATH: str({ devDefault: ':memory:' }),
COOKIE_SECRET: str({ devDefault: '00000000000000000000000000000000' }),
COMMON_RATE_LIMIT_MAX_REQUESTS: num({ devDefault: testOnly(1000) }),
COMMON_RATE_LIMIT_WINDOW_MS: num({ devDefault: testOnly(1000) }),
})

0 comments on commit 9cd25e3

Please sign in to comment.