fix: merge conf

This commit is contained in:
Jacky Zhao
2022-05-05 01:03:09 -04:00
14 changed files with 84 additions and 100 deletions

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'
)