From f099e4270d52cb7b7b9bcebb38ebc247d77f28b3 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Tue, 10 Aug 2021 20:23:15 +0800 Subject: [PATCH] change to Accept: */* to better support all websites --- server/model/monitor.js | 1 + src/assets/app.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 7c72fb25e..2520c282e 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -112,6 +112,7 @@ class Monitor extends BeanModel { let res = await axios.get(this.url, { timeout: 15000, headers: { + "Accept": "*/*", "User-Agent": "Uptime-Kuma", }, httpsAgent: new https.Agent({ diff --git a/src/assets/app.scss b/src/assets/app.scss index d99d3eec1..57e1dee9e 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -6,7 +6,7 @@ } h1 { - font-size: 30px; + font-size: 32px; } h2 {