undo fix whoops ¯\_(ツ)_/¯

This commit is contained in:
Amish Shah
2016-08-29 19:13:42 +01:00
parent 1e2e940b98
commit 52adb3d8b2
2 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ class ClientDataResolver {
resolveFile(resource) {
if ($string(resource)) {
return new Promise((resolve, reject) => {
if (/^http?:\/\//.test(resource)) {
if (/^https?:\/\//.test(resource)) {
request.get(resource)
.set('Content-Type', 'blob')
.end((err, res) => err ? reject(err) : resolve(res.body));