mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-27 21:11:04 +00:00
fix(frontend-config): iframe origins should be non-optional
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
67743b7cf5
commit
4f10e17d40
1 changed files with 2 additions and 4 deletions
|
@ -128,16 +128,14 @@ export class IframeCommunicationDto extends BaseDto {
|
|||
* @example https://md.example.com
|
||||
*/
|
||||
@IsUrl()
|
||||
@IsOptional()
|
||||
editorOrigin?: URL;
|
||||
editorOrigin: URL;
|
||||
|
||||
/**
|
||||
* The origin under which the renderer page will be served
|
||||
* @example https://md-renderer.example.com
|
||||
*/
|
||||
@IsUrl()
|
||||
@IsOptional()
|
||||
rendererOrigin?: URL;
|
||||
rendererOrigin: URL;
|
||||
}
|
||||
|
||||
export class FrontendConfigDto extends BaseDto {
|
||||
|
|
Loading…
Reference in a new issue