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