mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 02:06:12 +03:00
chore: don't decode target uri
This commit is contained in:
parent
9b0a67e0af
commit
75e2589e1e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function handleAuth(to: RouteLocationNormalized) {
|
|||
if (to.path === '/') {
|
||||
// handle PWA protocol handler
|
||||
if (to.query['protocol-handler'] && to.query.target) {
|
||||
const target = decodeURIComponent(to.query.target as string).replace(/^web\+ap:\/\//, 'https://')
|
||||
const target = (to.query.target as string).replace(/^web\+ap:\/\//, 'https://')
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(target)
|
||||
return navigateTo('/home')
|
||||
|
|
Loading…
Reference in a new issue