commit
8dfff2b324
2 changed files with 4 additions and 3 deletions
|
|
@ -11,6 +11,9 @@ const logger = require("winston");
|
||||||
const httpsAgent = require("https");
|
const httpsAgent = require("https");
|
||||||
const responseTime = require("response-time");
|
const responseTime = require("response-time");
|
||||||
const uuid = require("uuid/v4");
|
const uuid = require("uuid/v4");
|
||||||
|
const Common = require('shock-common')
|
||||||
|
|
||||||
|
|
||||||
const getListPage = require("../utils/paginate");
|
const getListPage = require("../utils/paginate");
|
||||||
const auth = require("../services/auth/auth");
|
const auth = require("../services/auth/auth");
|
||||||
const FS = require("../utils/fs");
|
const FS = require("../utils/fs");
|
||||||
|
|
@ -1576,7 +1579,7 @@ module.exports = async (
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
const GunEvent = require('../services/gunDB/event-constants')
|
const GunEvent = Common.Constants.Event
|
||||||
const Events = require('../services/gunDB/contact-api/events')
|
const Events = require('../services/gunDB/contact-api/events')
|
||||||
const Key = require('../services/gunDB/contact-api/key')
|
const Key = require('../services/gunDB/contact-api/key')
|
||||||
const {timeout5} = require('../services/gunDB/contact-api/utils')
|
const {timeout5} = require('../services/gunDB/contact-api/utils')
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
* Module dependencies.
|
* Module dependencies.
|
||||||
*/
|
*/
|
||||||
const server = program => {
|
const server = program => {
|
||||||
const Https = require('https')
|
|
||||||
const Http = require('http')
|
const Http = require('http')
|
||||||
const Express = require('express')
|
const Express = require('express')
|
||||||
const Crypto = require('crypto')
|
const Crypto = require('crypto')
|
||||||
|
|
@ -14,7 +13,6 @@ const server = program => {
|
||||||
const Encryption = require('../utils/encryptionStore')
|
const Encryption = require('../utils/encryptionStore')
|
||||||
const app = Express()
|
const app = Express()
|
||||||
|
|
||||||
const FS = require('../utils/fs')
|
|
||||||
const compression = require('compression')
|
const compression = require('compression')
|
||||||
const bodyParser = require('body-parser')
|
const bodyParser = require('body-parser')
|
||||||
const session = require('express-session')
|
const session = require('express-session')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue