mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 02:06:12 +03:00
fix(pwa): use 303 redirect in web share target api (#1448)
This commit is contained in:
parent
f96cdae1ba
commit
eda218de0b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export const onShareTarget = (event: FetchEvent) => {
|
|||
}
|
||||
|
||||
async function handleSharedTarget(event: FetchEvent) {
|
||||
event.respondWith(Response.redirect('/home?share-target=true'))
|
||||
event.respondWith(Response.redirect('/home?share-target=true', 303))
|
||||
await waitForClientToGetReady(event.resultingClientId)
|
||||
|
||||
const [client, formData] = await getClientAndFormData(event)
|
||||
|
|
Loading…
Reference in a new issue