mirror of
https://github.com/elk-zone/elk
synced 2024-11-27 06:18:07 +09:00
chore: don't decode target uri
This commit is contained in:
parent
9b0a67e0af
commit
75e2589e1e
@ -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 New Issue
Block a user