Поправки редиректа при заданном url

This commit is contained in:
Book Pauk
2023-01-08 15:06:01 +07:00
parent 4d3d66fbe2
commit ddde7d038b
2 changed files with 8 additions and 19 deletions

View File

@@ -59,7 +59,7 @@ class CommonHelpPage {
}
get bookmarkText() {
return `javascript:location.href='https://${window.location.host}/?url='+location.href;`
return `javascript:location.href='${window.location.protocol}//${window.location.host}/#/reader?url='+location.href;`
}
async copyText(text, mes) {