Handle inline images and attachments via data urls

This commit is contained in:
Zef Hemel
2023-01-08 15:29:34 +01:00
parent 0365673c41
commit 8dac58f38a
7 changed files with 53 additions and 16 deletions
+2 -2
View File
@@ -78,10 +78,10 @@ export class CapacitorSpacePrimitives implements SpacePrimitives {
}
}
return {
data,
data: data!,
meta: await this.getFileMeta(name),
};
} catch (e: any) {
} catch {
throw new Error(`Page not found`);
}
}