mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
@@ -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'
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user