This commit is contained in:
Louis Lam 2022-10-10 02:47:24 +08:00
parent 07f9aafd7b
commit 71af23cf00
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class StatusPage extends BeanModel {
// Preload data
// Add jsesc, fix https://github.com/louislam/uptime-kuma/issues/2186
const escapedJSONObject = jsesc(JSON.stringify(await StatusPage.getStatusPageData(statusPage)), {
const escapedJSONObject = jsesc(await StatusPage.getStatusPageData(statusPage), {
"isScriptContext": true
});