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

View File

@@ -56,16 +56,10 @@ export class DocRendererController {
private readonly url: URLHelper private readonly url: URLHelper
) { ) {
this.webAssets = this.readHtmlAssets( this.webAssets = this.readHtmlAssets(
join( join(this.config.projectRoot, 'static')
this.config.projectRoot,
this.config.isSelfhosted ? 'static/selfhost' : 'static'
)
); );
this.mobileAssets = this.readHtmlAssets( this.mobileAssets = this.readHtmlAssets(
join( join(this.config.projectRoot, 'static/mobile')
this.config.projectRoot,
this.config.isSelfhosted ? 'static/mobile/selfhost' : 'static/mobile'
)
); );
} }