fix(editor): use img tag for link preview icon and banner (#11637)

close AF-2377
This commit is contained in:
forehalo
2025-04-11 08:48:04 +00:00
parent 9c6d94f597
commit 2f5647ac77
2 changed files with 3 additions and 16 deletions

View File

@@ -183,7 +183,7 @@ export function buildAppModule(env: Env) {
// doc service only
.useIf(() => env.flavors.doc, DocServiceModule)
// self hosted server only
.useIf(() => env.selfhosted, WorkerModule, SelfhostModule)
.useIf(() => env.dev || env.selfhosted, WorkerModule, SelfhostModule)
// gcloud
.useIf(() => env.gcp, GCloudModule);