remove debug logging
This commit is contained in:
parent
9a599981ef
commit
66cd7cf90e
1 changed files with 0 additions and 1 deletions
|
|
@ -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...');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue