chore: fix some typos

Signed-off-by: findmyhappy <findhappy@sohu.com>
This commit is contained in:
findmyhappy
2024-04-24 14:28:48 +08:00
committed by LinkinStars
parent 0dce384839
commit cdfe6fead4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ env:
# [DEBUG INFO WARN ERROR]
value: "INFO"
# uncomment the below values to use AUTO_INSTALL and not have to go through the setup process.
# Once used to do the initial setup, these variables wont be used moving forward.
# Once used to do the initial setup, these variables won't be used moving forward.
# You must at a minimum comment AUTO_INSTALL after initial setup to prevent an error about the database already being initiated.
# - name: AUTO_INSTALL
# value: "true"
+1 -1
View File
@@ -58,7 +58,7 @@ export function htmlRender(el: HTMLElement | null) {
div.appendChild(table);
});
// add rel nofollow for link not inlcludes domain
// add rel nofollow for link not includes domain
el.querySelectorAll('a').forEach((a) => {
const base = window.location.origin;
const targetUrl = new URL(a.href, base);