Attach platform to asset url

Summary: Depends on D2420548

Reviewed By: @martinbigio

Differential Revision: D2421696
This commit is contained in:
Alex Kotliarskyi
2015-09-09 08:49:45 -07:00
committed by facebook-github-bot-8
parent c4305fe9af
commit ce47e56b7b
2 changed files with 6 additions and 23 deletions

View File

@@ -63,7 +63,8 @@ function getPathInArchive(asset) {
* from the devserver
*/
function getPathOnDevserver(devServerUrl, asset) {
return devServerUrl + getScaledAssetPath(asset) + '?hash=' + asset.hash;
return devServerUrl + getScaledAssetPath(asset) + '?platform=' + Platform.OS +
'&hash=' + asset.hash;
}
/**