remove debug logging
This commit is contained in:
@@ -242,7 +242,6 @@ export async function configureHAProxy() {
|
|||||||
const output = mustache.render(template, data);
|
const output = mustache.render(template, data);
|
||||||
const newHash = crypto.createHash('md5').update(output).digest('hex');
|
const newHash = crypto.createHash('md5').update(output).digest('hex');
|
||||||
const { proxyHash, id } = await db.listSettings();
|
const { proxyHash, id } = await db.listSettings();
|
||||||
console.log({ proxyHash, newHash, output });
|
|
||||||
if (proxyHash !== newHash) {
|
if (proxyHash !== newHash) {
|
||||||
await db.prisma.setting.update({ where: { id }, data: { proxyHash: newHash } });
|
await db.prisma.setting.update({ where: { id }, data: { proxyHash: newHash } });
|
||||||
console.log('HAProxy configuration changed, updating...');
|
console.log('HAProxy configuration changed, updating...');
|
||||||
|
Reference in New Issue
Block a user