refactor(front-end): add Keep-Alive header in the put fetcher so the striker has time to answer

main
Josue 3 years ago
parent 9f47f7c45e
commit 9d9be36447
  1. 1
      striker-ui/lib/fetchers/putJSON.ts

@ -4,6 +4,7 @@ const putJSON = <T>(uri: string, data: T): Promise<any> => {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
'Keep-Alive': 'timeout=60',
},
body: JSON.stringify(data),
});

Loading…
Cancel
Save