You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Mobile: Support building for web (#10650)
This commit is contained in:
@ -168,7 +168,8 @@ export default class RepositoryApi {
|
||||
}
|
||||
|
||||
private assetFileUrl(pluginId: string): string {
|
||||
if (this.release_) {
|
||||
// On web, downloading from a release is blocked by CORS.
|
||||
if (this.release_ && shim.mobilePlatform() !== 'web') {
|
||||
const asset = this.release_.assets.find(asset => {
|
||||
const s = asset.name.split('@');
|
||||
s.pop();
|
||||
|
Reference in New Issue
Block a user