diff --git a/docs/content/1.setup/6.html.md b/docs/content/1.setup/6.html.md index 555fc1d..f736739 100644 --- a/docs/content/1.setup/6.html.md +++ b/docs/content/1.setup/6.html.md @@ -14,15 +14,13 @@ description: Minimal examples of setting up a denied file. - Create a file in any directory of your choice and name it whatever you want. For this example, we will name it `denied.html`. -- Add the following code to bottom of the body tag in the `denied.html` file: +- Add the following script to the `denied.html` file: + ::code-group ::code-block{label="code"} - ```javascript - if (!localStorage["auth"] && new URL(document.all.rcheck.href).password) { - window.location.reload(); - localStorage["auth"] = true; - } + ```html + ``` :: ::code-block{label="denied.html"} @@ -33,16 +31,11 @@ description: Minimal examples of setting up a denied file.
You do not have permission to access this resource.
-