grunt-contrib-lefdupload
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "grunt-contrib-lefdupload", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "upload file to server", | ||
@@ -5,0 +5,0 @@ "homepage": "http://git.letv.cn/uc-ued/grunt-contrib-lefdupload", |
@@ -25,2 +25,3 @@ /* | ||
}, | ||
protocol: 'http', | ||
//http request setting | ||
@@ -88,2 +89,5 @@ request:{}, | ||
grunt.log.writeln('upload success:' + url); | ||
if(options.protocol === 'https') { | ||
url = url.replace('http:','https:'); | ||
} | ||
route[route.length] = '"' + file + '":"' + url + '"'; | ||
@@ -90,0 +94,0 @@ } else { |
10574
242