Nodes should support loading file:/// uris

Summary: Non-Nodes supports file:///, and Nodes should too.

Differential Revision: D3639675
This commit is contained in:
Ahmed El-Helw 2016-07-28 18:17:20 -07:00
Родитель 1d034cf91d
Коммит 2f7da48813
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -46,6 +46,7 @@ import com.facebook.imagepipeline.request.ImageRequestBuilder;
return
source.startsWith("http://") ||
source.startsWith("https://") ||
source.startsWith("data:");
source.startsWith("data:") ||
source.startsWith("file:///");
}
}