mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-11 16:35:13 +00:00
Update http.js
This commit is contained in:
parent
f1e45f01bb
commit
4327651e1d
|
@ -1,6 +1,6 @@
|
|||
// http.js
|
||||
// HTTP REST Client for WelsonJS framework
|
||||
// Namhyeon Go <abuse@catswords.net>
|
||||
// Namhyeon Go (Catswords Research) <abuse@catswords.net>
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
var SYS = require("lib/system");
|
||||
var FILE = require("lib/file");
|
||||
|
@ -167,7 +167,7 @@ var HTTPObject = function(engine) {
|
|||
this._interface = SHELL.create();
|
||||
|
||||
// the location of cURL binary
|
||||
var arch = SYS.getArch();
|
||||
var arch = SYS.getArch();
|
||||
if (arch.indexOf("64") > -1) {
|
||||
this.setBinPath("bin\\x64\\curl-8.10.1_1-win64-mingw\\bin\\curl.exe");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user