diff --git a/packages/backend/server/src/core/doc-renderer/controller.ts b/packages/backend/server/src/core/doc-renderer/controller.ts index 243ad9ea6894f..7ab95f312a758 100644 --- a/packages/backend/server/src/core/doc-renderer/controller.ts +++ b/packages/backend/server/src/core/doc-renderer/controller.ts @@ -56,16 +56,10 @@ export class DocRendererController { private readonly url: URLHelper ) { this.webAssets = this.readHtmlAssets( - join( - this.config.projectRoot, - this.config.isSelfhosted ? 'static/selfhost' : 'static' - ) + join(this.config.projectRoot, 'static') ); this.mobileAssets = this.readHtmlAssets( - join( - this.config.projectRoot, - this.config.isSelfhosted ? 'static/mobile/selfhost' : 'static/mobile' - ) + join(this.config.projectRoot, 'static/mobile') ); }