mirror of
https://gitlab.com/MrFry/qmining-page
synced 2026-04-28 11:17:37 +02:00
Sending cookies with fetch, bg color change
This commit is contained in:
@@ -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'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user