Skip to content

Commit

Permalink
#34 - Try fixing refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianbinau committed Oct 16, 2023
1 parent 3e83d37 commit 7fbac92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/serviceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ async function refreshTokens(event) {
method: 'POST',
signal: controller.signal,
credentials: 'include',
headers: {
'Content-Type': 'application/json',
},
});
event.waitUntil(refreshResponse);

Expand Down

0 comments on commit 7fbac92

Please sign in to comment.