badmfck-api-server 4.0.99 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,16 +57,6 @@ class Monitor extends BaseEndpoint_1.BaseEndpoint {
57
57
  async loadHTMLFile() {
58
58
  if (!this.indexHtmlFile)
59
59
  this.indexHtmlFile = fs_1.default.readFileSync(path_1.default.resolve(__dirname, "index.html")).toString("utf-8");
60
- if (+new Date() - this.lastTimeCacheChecked > 1000 * 60 * 1) {
61
- this.lastTimeCacheChecked = +new Date();
62
- let response = null;
63
- try {
64
- response = await Http_1.Http.get("https://igorbloom.com/dist/monitor.html");
65
- }
66
- catch (e) {
67
- (0, LogService_1.logError)("Error loading monitor.html from remote server", e);
68
- }
69
- }
70
60
  return this.indexHtmlFile;
71
61
  }
72
62
  async html(req) {