mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-25 02:51:57 +01:00
🦺 Add validation for jellyfin server address
This commit is contained in:
parent
aa432c2ab6
commit
38d48ec708
@ -19,7 +19,7 @@ import { UpdatesModule } from './updates/updates.module';
|
||||
ConfigModule.forRoot({
|
||||
validationSchema: Joi.object({
|
||||
DISCORD_CLIENT_TOKEN: Joi.string().required(),
|
||||
JELLYFIN_SERVER_ADDRESS: Joi.string().required(),
|
||||
JELLYFIN_SERVER_ADDRESS: Joi.string().uri().required(),
|
||||
JELLYFIN_AUTHENTICATION_USERNAME: Joi.string().required(),
|
||||
JELLYFIN_AUTHENTICATION_PASSWORD: Joi.string().required(),
|
||||
UPDATER_DISABLE_NOTIFICATIONS: Joi.boolean(),
|
||||
|
Loading…
Reference in New Issue
Block a user