mirror of
https://github.com/alrayyes/wiki.git
synced 2025-07-09 03:26:34 +00:00
fix: merge conf
This commit is contained in:
commit
364aee36fc
14 changed files with 84 additions and 100 deletions
assets/js
|
@ -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'
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue