Using the simpleworks conf now

This commit is contained in:
2025-12-31 19:28:26 -05:00
parent c75ec8015e
commit 6cb2880131
15 changed files with 27 additions and 44 deletions
+1 -1
View File
@@ -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({
+1 -1
View File
@@ -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();