diff --git a/docs/settings.md b/docs/settings.md index 236421be1..3078235ca 100644 --- a/docs/settings.md +++ b/docs/settings.md @@ -540,4 +540,3 @@ Allow access based on internal and external IP/network/rDNS/ASN whitelists. |`WHITELIST_USER_AGENT_URLS`| |global |no |List of URLs, separated with spaces, containing good User-Agent to whitelist. | |`WHITELIST_URI` | |multisite|no |List of URI (PCRE regex), separated with spaces, to whitelist. | |`WHITELIST_URI_URLS` | |global |no |List of URLs, separated with spaces, containing bad URI to whitelist. | - diff --git a/docs/web-ui.md b/docs/web-ui.md index 7484c9a8f..336df9255 100644 --- a/docs/web-ui.md +++ b/docs/web-ui.md @@ -1641,4 +1641,4 @@ Review your final BunkerWeb UI URL and then click on the `Setup` button. Once th ```shell systemctl restart bunkerweb - ``` \ No newline at end of file + ``` diff --git a/src/common/core/errors/files/error.html b/src/common/core/errors/files/error.html index 592361bb1..0bcd08c05 100644 --- a/src/common/core/errors/files/error.html +++ b/src/common/core/errors/files/error.html @@ -1,4 +1,4 @@ - +
diff --git a/src/ui/static/js/cache.js b/src/ui/static/js/cache.js index 9f97d2a99..92f8f178f 100644 --- a/src/ui/static/js/cache.js +++ b/src/ui/static/js/cache.js @@ -33,8 +33,8 @@ class Download { window.open( `${location.href.replace( "cache", - "jobs" - )}/download?job_name=${jobName}&file_name=${fileName}` + "jobs", + )}/download?job_name=${jobName}&file_name=${fileName}`, ); } } diff --git a/src/ui/static/js/global.js b/src/ui/static/js/global.js index 5b0657b8d..6d2eeac47 100644 --- a/src/ui/static/js/global.js +++ b/src/ui/static/js/global.js @@ -66,7 +66,7 @@ class News { news.photo.url, news.excerpt, news.tags, - news.date + news.date, ); let cleanHTML = DOMPurify.sanitize(cardHTML); //add to DOM @@ -180,7 +180,7 @@ class darkMode { }; const send = await fetch( `${location.href.split("/").slice(0, -1).join("/")}/darkmode`, - data + data, ); } } @@ -220,7 +220,7 @@ class FlashMsg { flashEl.remove(); //update count this.flashCount.textContent = document.querySelectorAll( - "[data-flash-message]" + "[data-flash-message]", ).length; } } catch (err) {} @@ -313,7 +313,7 @@ class Banner { this.bannerEl.querySelector( `[role="listitem"][data-id="${ +visibleEl.getAttribute("data-id") + 1 - }"]` + }"]`, ) || this.bannerEl.querySelector(`[role="listitem"][data-id="0"]`); // Hide current one @@ -382,7 +382,7 @@ const setMenu = new Menu(); const setNewsSidebar = new Sidebar( "[data-sidebar-info]", "[data-sidebar-info-open]", - "[data-sidebar-info-close]" + "[data-sidebar-info-close]", ); const setCheckbox = new Checkbox(); @@ -393,7 +393,7 @@ const setDisabledPop = new DisabledPop(); const setFlashSidebar = new Sidebar( "[data-flash-sidebar]", "[data-flash-sidebar-open]", - "[data-flash-sidebar-close]" + "[data-flash-sidebar-close]", ); const setNews = new News(); const setDarkM = new darkMode(); diff --git a/src/ui/static/js/profile.js b/src/ui/static/js/profile.js index f3629adbe..4604a1ba5 100644 --- a/src/ui/static/js/profile.js +++ b/src/ui/static/js/profile.js @@ -41,7 +41,7 @@ class SubmitProfile { "focus:valid:!border-red-500", "active:!border-red-500", "active:valid:!border-red-500", - "valid:!border-red-500" + "valid:!border-red-500", ); this.pwAlertEl.classList.add("opacity-0"); this.pwAlertEl.setAttribute("aria-hidden", "true"); @@ -53,7 +53,7 @@ class SubmitProfile { "focus:valid:!border-red-500", "active:!border-red-500", "active:valid:!border-red-500", - "valid:!border-red-500" + "valid:!border-red-500", ); this.pwAlertEl.classList.remove("opacity-0"); this.pwAlertEl.setAttribute("aria-hidden", "false"); @@ -71,14 +71,14 @@ class PwBtn { const passwordContainer = e.target.closest("[data-input-group]"); const inpEl = passwordContainer.querySelector("input"); const invBtn = passwordContainer.querySelector( - '[data-setting-password="invisible"]' + '[data-setting-password="invisible"]', ); const visBtn = passwordContainer.querySelector( - '[data-setting-password="visible"]' + '[data-setting-password="visible"]', ); inpEl.setAttribute( "type", - inpEl.getAttribute("type") === "password" ? "text" : "password" + inpEl.getAttribute("type") === "password" ? "text" : "password", ); if (inpEl.getAttribute("type") === "password") {