mirror of
https://github.com/chaitin/SafeLine.git
synced 2026-02-08 09:43:20 +08:00
insert point method (#841)
* fix: img typo --------- Co-authored-by: 杨纲 <gang.yang@chaitin.com>
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user