module updates and fixes

This commit is contained in:
zefie
2026-04-23 21:19:06 -04:00
parent f2e117140f
commit 65e048d3fb
6 changed files with 35 additions and 41 deletions

View File

@@ -1,10 +1,8 @@
const {WTVShared, clientShowAlert} = require('./WTVShared.js');
class WTVHTTP {
constructor(...[minisrv_config, service_name, http, sendToClient]) {
constructor(...[minisrv_config, service_name, wtvshared, sendToClient, http]) {
this.minisrv_config = minisrv_config;
this.service_name = service_name;
this.wtvshared = new WTVShared(minisrv_config);
this.wtvshared = wtvshared;
this.sendToClient = sendToClient;
this.http = http;
this.https = require('follow-redirects').https