mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 04:24:43 -04:00
Merge pull request #1203 from hedgedoc/config/renderOriginDefault
This commit is contained in:
commit
c05e5bde43
3 changed files with 8 additions and 6 deletions
|
@ -129,9 +129,7 @@ export class FrontendConfigService {
|
|||
private getIframeCommunication(): IframeCommunicationDto {
|
||||
return {
|
||||
editorOrigin: new URL(this.appConfig.domain),
|
||||
rendererOrigin: this.appConfig.rendererOrigin
|
||||
? new URL(this.appConfig.rendererOrigin)
|
||||
: new URL(this.appConfig.domain),
|
||||
rendererOrigin: new URL(this.appConfig.rendererOrigin),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue