fix new path for modules

This commit is contained in:
philc 2024-11-10 08:20:16 +01:00
parent e9dbb374a0
commit 749320dfca
3 changed files with 2 additions and 10 deletions

View File

@ -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") &&

View File

@ -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");

View File

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