Skip to content

Commit 17e21d7

Browse files
authored
fix harmony image assets load fail issue (#505)
* modify harmony download logic to async * fix harmony image assets load fail issue
1 parent 1cab582 commit 17e21d7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

harmony/pushy.har

-2.44 KB
Binary file not shown.

harmony/pushy/src/main/ets/PushyFileJSBundleProvider.ets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class PushyFileJSBundleProvider extends JSBundleProvider {
1212
this.updateContext = new UpdateContext(context);
1313
}
1414
getURL(): string {
15-
return this.updateContext.getBundleUrl();
15+
return this.updateContext.getBundleUrl().substring(1);
1616
}
1717

1818
async getBundle(): Promise<ArrayBuffer> {

0 commit comments

Comments
 (0)