insert point method (#841)

* fix: img typo

---------

Co-authored-by: 杨纲 <gang.yang@chaitin.com>
This commit is contained in:
bens.CN
2024-04-24 16:32:53 +08:00
committed by GitHub
parent 93698a7fe9
commit dd66ebc5c1

View File

@@ -38,6 +38,6 @@ function detectorPoint(query: { source?: string; type: 1001 | 1002 }) {
const search = new URLSearchParams(location.search);
query.source = search.get("source") || document.referrer;
return fetch(
getAPIUrl() + "/api/behavior?" + new URLSearchParams(query as any)
getAPIUrl() + "/api/behavior?" + new URLSearchParams(query as any), {method: 'POST'}
).then((res) => res.json());
}