fix(server): no more selfhost paths (#8530)

closes #8521
This commit is contained in:
forehalo 2024-10-17 06:53:01 +00:00
parent ee641f0377
commit b7fac5acb8
No known key found for this signature in database
GPG Key ID: 56709255DC7EC728

View File

@ -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')
);
}