File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818 "prune" : " ./prune-gh-pages.sh" ,
1919 "i18n:push" : " tx-push-src scratch-editor interface translations/en.json" ,
2020 "i18n:src" : " rimraf ./translations/messages/src && babel src > tmp.js && rimraf tmp.js && build-i18n-src ./translations/messages/src ./translations/" ,
21- "start" : " ZEROCAT_BACKEND=http://localhost:3000 ZEROCAT_ASSETS=https://zerocat-bitiful.houlangs.com/material/asset webpack-dev-server" ,
21+ "start" : " ZEROCAT_BACKEND=http://localhost:3000 ZEROCAT_ASSETS=https://zerocat-bitiful.houlangs.com/assets webpack-dev-server" ,
2222 "test" : " npm run test:lint && npm run test:unit && npm run build && npm run test:integration" ,
2323 "test:integration" : " jest --maxWorkers=4 test[\\\\ /]integration" ,
2424 "test:lint" : " eslint . --ext .js,.jsx" ,
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class Storage extends ScratchStorage {
5555 this . assetHost = assetHost ;
5656 }
5757 getAssetGetConfig ( asset ) {
58- return `${ this . assetHost } /${ asset . assetId } .${ asset . dataFormat } ` ;
58+ return `${ this . assetHost } /${ asset . assetId . slice ( 0 , 2 ) } / ${ asset . assetId . slice ( 2 , 4 ) } / ${ asset . assetId } .${ asset . dataFormat } ` ;
5959 }
6060 getAssetCreateConfig ( asset ) {
6161 return {
You can’t perform that action at this time.
0 commit comments