mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2025-03-13 22:19:59 +01:00
Set cookies on fetch
This commit is contained in:
parent
87b18da811
commit
522110c0bc
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ const oldfetch = window.fetch
|
|||
let fetch = (url, options) => {
|
||||
const baseUrl = ''
|
||||
const fullUrl = baseUrl + url
|
||||
options.credentials = 'same-origin'
|
||||
return oldfetch(fullUrl, options)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue