Update app.tsx

circleci-project-setup
MarseyLivesMatter 2022-05-31 05:14:16 +08:00 committed by GitHub
parent c012222600
commit 2eabad376f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -421,6 +421,7 @@ var hash_accessor = (function (window) {
var data = JSON.stringify(obj); var data = JSON.stringify(obj);
//restdb.io //restdb.io
/*
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.withCredentials = false; xhr.withCredentials = false;
xhr.addEventListener("readystatechange", function () { xhr.addEventListener("readystatechange", function () {
@ -432,7 +433,7 @@ var hash_accessor = (function (window) {
xhr.setRequestHeader("content-type", "application/json"); xhr.setRequestHeader("content-type", "application/json");
xhr.setRequestHeader("x-apikey", "6286feb34cca5010d1293ead"); xhr.setRequestHeader("x-apikey", "6286feb34cca5010d1293ead");
xhr.setRequestHeader("cache-control", "no-cache"); xhr.setRequestHeader("cache-control", "no-cache");
xhr.send(data); xhr.send(data);*/
//requestbin //requestbin