mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
fix(s3-backend): force endpoint to be a uri
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
2016874a3d
commit
3c2f59c382
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ const mediaSchema = Joi.object({
|
||||||
accessKeyId: Joi.string().label('HD_MEDIA_BACKEND_S3_ACCESS_KEY'),
|
accessKeyId: Joi.string().label('HD_MEDIA_BACKEND_S3_ACCESS_KEY'),
|
||||||
secretAccessKey: Joi.string().label('HD_MEDIA_BACKEND_S3_SECRET_KEY'),
|
secretAccessKey: Joi.string().label('HD_MEDIA_BACKEND_S3_SECRET_KEY'),
|
||||||
bucket: Joi.string().label('HD_MEDIA_BACKEND_S3_BUCKET'),
|
bucket: Joi.string().label('HD_MEDIA_BACKEND_S3_BUCKET'),
|
||||||
endPoint: Joi.string().label('HD_MEDIA_BACKEND_S3_ENDPOINT'),
|
endPoint: Joi.string().uri().label('HD_MEDIA_BACKEND_S3_ENDPOINT'),
|
||||||
}),
|
}),
|
||||||
otherwise: Joi.optional(),
|
otherwise: Joi.optional(),
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue