Skip to content

Commit

Permalink
al fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
ztimms73 committed Oct 25, 2023
1 parent e4be6e0 commit db76209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
if (inBrowser) {
document.cookie = `nf_lang=${lang.value}; expires=Mon, 1 Jan 2024 00:00:00 UTC; path=/`
if (document.location = "https://kotatsu.app/manga/") {
document.location = `kotatsu://manga?${window.location.toString().split("manga/?").pop()}`
document.location = `kotatsu://manga/manga?${window.location.toString().split("manga/?").pop()}`
}
}
})
Expand Down

0 comments on commit db76209

Please sign in to comment.