mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 18:13:26 +00:00
@@ -59,4 +59,11 @@ export const configSchema = z.object({
|
||||
clientKey: z.string().min(1).optional(),
|
||||
})
|
||||
.default({}),
|
||||
ratelimits: z
|
||||
.object({
|
||||
// enabled captchas on register
|
||||
enabled: z.coerce.boolean().default(false),
|
||||
redisUrl: z.string().optional(),
|
||||
})
|
||||
.default({}),
|
||||
});
|
||||
|
Reference in New Issue
Block a user