fix: merge conf

This commit is contained in:
Jacky Zhao committed 2022-05-05 01:03:09 -04:00
commit 364aee36fc
14 files changed
+84 -100

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ const highlight = (content, term) => {
// SPA navigation
window.navigate(
new URL(
`${BASE_URL}${id}#:~:text=${encodeURIComponent(term)}/`
`${BASE_URL.replace(/\/$/g, "")}${id}#:~:text=${encodeURIComponent(term)}/`
),
'.singlePage'
)