Update BlazorHelpers.js
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user