mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Sending cookies with fetch, bg color change
This commit is contained in:
parent
9f576a41f6
commit
cbba4cd616
10 changed files with 21 additions and 11 deletions
|
@ -73,6 +73,7 @@ export default function Feedback (props) {
|
|||
|
||||
const rawResponse = await fetch(constants.apiUrl + 'postfeedback', {
|
||||
method: 'POST',
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json'
|
||||
|
@ -102,6 +103,7 @@ export default function Feedback (props) {
|
|||
|
||||
const rawFileResponse = await fetch(constants.apiUrl + 'postfeedbackfile', {
|
||||
method: 'POST',
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
'Accept': 'application/json'
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue