Update BlazorHelpers.js

This commit is contained in:
2023-07-28 22:41:52 +07:00
committed by GitHub
parent d70d81ebdf
commit cfa8d9239c
@@ -25,10 +25,10 @@ function checkBlazorStatus() {
var markup = document.documentElement.innerHTML; var markup = document.documentElement.innerHTML;
if (markup.includes("<!--Blazor") == false) { if (markup.includes("<!--Blazor") == false) {
blazorPassThrough = true; blazorPassThrough = true;
showAlert("Error! ", "Html Content Filtering Detected - Web Interface will not work. If you are using Cloudflare or a similar service please follow", "danger", "https://github.com/lavinir/hassio-onedrive-backup#html-content-filtering-error", " this link ", "for instructions"); showAlert("Error! ", "Html Content Filtering Detected - Web Interface will not work. If you are using Cloudflare or a similar service please follow", "danger", "https://github.com/smarthomekh/hassio-onedrive-backup#html-content-filtering-error", " this link ", "for instructions");
} }
} }
window.onload = function () { window.onload = function () {
checkBlazorStatus(); checkBlazorStatus();
} }