Skip to content

Commit

Permalink
fix(server): no more selfhost paths (#8530)
Browse files Browse the repository at this point in the history
closes #8521
  • Loading branch information
forehalo committed Oct 17, 2024
1 parent ee641f0 commit b7fac5a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/backend/server/src/core/doc-renderer/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}

Expand Down

0 comments on commit b7fac5a

Please sign in to comment.