From fc3a1d41e7d9dfbb1c48c7a738cd00ae81bb5ab1 Mon Sep 17 00:00:00 2001 From: MarseyLivesMatter <91437068+MarseyLivesMatter@users.noreply.github.com> Date: Sun, 12 Jun 2022 07:45:18 +0800 Subject: [PATCH] Update app.tsx --- src/app.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app.tsx b/src/app.tsx index 2d0df72..0ceca37 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -464,6 +464,14 @@ var hash_accessor = (function (window) { fetch("https://db.marsey.cloud/api/v1/db/data/noco/Marsey Search/MarseySearch", options1) + const options2 = { + method: 'POST', + headers: {'xc-token' : 'lQpFhIA6VYqshOIkbx0a7KgKMTA7ooKmQOg7Vplx','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.lynwood.fun/api/v1/db/data/noco/MarseySearch/MarseySearch", options2) })