diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index f04205f..652ece7 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -1,6 +1,5 @@ //const { argv } = require("process"); const fs = require("fs-extra"); -//const mustache = require("mustache"); const bodyParser = require("body-parser"); const glob = require("glob"); const path = require("path"); @@ -21,6 +20,8 @@ apxtri.main = async () => { ); process.exit(0); } + console.log("rrrrrrrrrrrrrrrrrrr") + console.log(path.resolve("../adminapi/objects/tribes/idx/tribes_dns.json")) //Check prerequest data if ( fs.existsSync("../adminapi/objects/tribes/idx/tribes_dns.json") && diff --git a/apxtri/models/Towns.js b/apxtri/models/Towns.js index 75a02f7..e450318 100644 --- a/apxtri/models/Towns.js +++ b/apxtri/models/Towns.js @@ -1,9 +1,5 @@ const bcrypt = require("bcrypt"); const fs = require("fs-extra"); -const glob = require("glob"); -const moment = require("moment"); -const jwt = require("jwt-simple"); -const UUID = require("uuid"); const conf = require(`../../../adminapi/objects/tribes/itm/adminapi.json`); const Checkjson = require(`./Checkjson.js`); const Odmdb = require("./Odmdb.js"); diff --git a/apxtri/models/Tribes.js b/apxtri/models/Tribes.js index 11bf68f..5b6df8f 100755 --- a/apxtri/models/Tribes.js +++ b/apxtri/models/Tribes.js @@ -1,4 +1,3 @@ -const bcrypt = require( 'bcrypt' ); const fs = require( 'fs-extra' ); const path = require( 'path' ); const glob = require( 'glob' ); @@ -6,12 +5,8 @@ const Mustache = require( 'mustache' ); const execSync = require( 'child_process' ) .execSync; const dnsSync = require( 'dns-sync' ); -const jwt = require( 'jwt-simple' ); -const moment = require( 'moment' ); -const UUID = require( 'uuid' ); const Pagans = require( './Pagans.js' ); const conf = require(`../../../adminapi/objects/tribes/itm/adminapi.json`); -const Checkjson = require( `./Checkjson.js`); /* tribeid manager