Using the simpleworks conf now
This commit is contained in:
@@ -113,7 +113,7 @@ if(require.main === module){(async function(){try{
|
||||
|
||||
const tldExtract = require('tld-extract').parse_host;
|
||||
const PorkBun = require('./porkbun');
|
||||
const conf = require('../conf/conf');
|
||||
const conf = require('@simpleworkjs/conf');
|
||||
|
||||
let porkBun = new PorkBun(conf.porkBun.apiKey, conf.porkBun.secretApiKey);
|
||||
let letsEncrypt = new LetsEncrypt({
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
const {createClient} = require('redis');
|
||||
const objValidate = require('../utils/object_validate');
|
||||
const conf = require('../conf');
|
||||
const conf = require('@simpleworkjs/conf');
|
||||
|
||||
const client = createClient({});
|
||||
client.connect();
|
||||
|
||||
Reference in New Issue
Block a user