Skip to content

Commit fb4b567

Browse files
authored
Use asset host for loading fonts (#1036)
1 parent 4d4d2a4 commit fb4b567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Storage extends ScratchStorage {
1919
this.getProjectUpdateConfig.bind(this)
2020
);
2121
this.addWebStore(
22-
[this.AssetType.ImageVector, this.AssetType.ImageBitmap, this.AssetType.Sound],
22+
[this.AssetType.ImageVector, this.AssetType.ImageBitmap, this.AssetType.Sound, this.AssetType.Font],
2323
this.getAssetGetConfig.bind(this),
2424
// We set both the create and update configs to the same method because
2525
// storage assumes it should update if there is an assetId, but the

0 commit comments

Comments
 (0)