Update http.js

This commit is contained in:
Namhyeon Go 2024-09-25 15:52:47 +09:00
parent f1e45f01bb
commit 4327651e1d

View File

@ -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 {