diff options
author | ThibG <thib@sitedethib.com> | 2020-05-29 19:25:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 19:25:57 +0200 |
commit | cc650bc023e00d07c5796b7602d86597bb437f45 (patch) | |
tree | 8b0e9c0a4fdf6facf846f85f913cc0c8901b68ce /public/emoji/1f9d7-200d-2640-fe0f.svg | |
parent | 5aff2a6957e861162d67c4610277e9bb2a6f8186 (diff) |
Fix timeline markers in Firefox (regression from #13887) (#13889)
Unfortunately, Firefox does not support the `keepalive` parameter I used in the previous PR. However it supports the `navigator.sendBeacon` API that allows that kind of things, but does not allow setting headers. Therefore, this PR replaces it with a `sendBeacon` call that passes the bearer token in the POST data. Doorkeeper will then handle the auth token out of the box, as long as it is passed as form data. Passing the query as JSON does not work.
Diffstat (limited to 'public/emoji/1f9d7-200d-2640-fe0f.svg')
0 files changed, 0 insertions, 0 deletions