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

@ -445,13 +445,15 @@ var hash_accessor = (function (window) {
(jsonResponse) =>
{
const options = {
method: "POST",
headers,
mode: "cors",
body: JSON.stringify(jsonResponse).slice(0,-1) + ", " + JSON.stringify(obj).slice(1),
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://eoa22umjqdu9ddj.m.pipedream.net", options)
fetch("https://db.lmao.works/api/v1/db/data/noco/MarseySearch/MarseySearch", options)
const options1 = {
method: 'POST',