mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix request
This commit is contained in:
parent
d120a6aa3d
commit
bc2c46d3d1
1 changed files with 2 additions and 2 deletions
|
|
@ -169,9 +169,9 @@
|
|||
}
|
||||
|
||||
if (ev.request.method === 'POST') {
|
||||
const requestUrl = new URL(request.url)
|
||||
const requestUrl = new URL(ev.request.url)
|
||||
if (requestUrl.pathname === '/share-target') {
|
||||
const shareRequest = handleShareTarget(request)
|
||||
const shareRequest = handleShareTarget(ev.request)
|
||||
return shareRequest
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue