diff --git a/src/ServerSettings.js b/src/ServerSettings.js index 7ed5bf7..02f8cfa 100644 --- a/src/ServerSettings.js +++ b/src/ServerSettings.js @@ -244,7 +244,7 @@ function bds_get_config(){ JsonConfig.commands = false; // JsonConfig.worldtype = config["level-type"]; } else if (GetPlatform() === "jsprismarine") throw "Platform not fully supported"; - else throw new Error("Platform no exists, check config file") + else throw new Error("Platform no exists, check config file"); return JsonConfig; } function config_example(){ diff --git a/src/clouds/Auth/Google.js b/src/clouds/Auth/Google.js index 9e76c74..cc77567 100644 --- a/src/clouds/Auth/Google.js +++ b/src/clouds/Auth/Google.js @@ -75,7 +75,7 @@ async function authorize() { app.use(require("body-parser").urlencoded({ extended: true })); app.use(require("express-rate-limit")({windowMs: 1 * 60 * 1000, max: 100})); app.use(require("cors")()); - const port = RandomPort() + const port = RandomPort(); ip_andress.internal_ip.forEach(ips => { let { ipv4, ipv6 } = ips.Interna_IP; console.log(`Open: http://${ipv4}:${port}/request`); diff --git a/src/clouds/OracleCI.js b/src/clouds/OracleCI.js index 3cf9734..e1f2e36 100644 --- a/src/clouds/OracleCI.js +++ b/src/clouds/OracleCI.js @@ -31,7 +31,7 @@ async function Uploadbackups(object = "Backup.zip", fileLocation = resolve(__dir resolve(putObjectResponse); } catch (error) { console.log("Error ", error); - reject(error) + reject(error); } }); } diff --git a/src/rest/routes/bds.js b/src/rest/routes/bds.js index 5fcd667..edae63e 100644 --- a/src/rest/routes/bds.js +++ b/src/rest/routes/bds.js @@ -2,7 +2,7 @@ const express = require("express"); const app = express.Router(); const { GetKernel } = require("../../../lib/BdsSystemInfo"); const commandExist = require("../../../lib/commandExist"); -const { GetPlatform, GetServerVersion, UpdatePlatform, bds_dir } = require("../../../lib/BdsSettings") +const { GetPlatform, GetServerVersion, UpdatePlatform, bds_dir } = require("../../../lib/BdsSettings"); const admzip = require("adm-zip"); const bds = require("../../../index"); const { token_verify } = require("../../check");