mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Removed public script. Added no-cors to fetch.
This commit is contained in:
parent
822d46a2e0
commit
70a239b0dc
3 changed files with 2 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ const {
|
|||
function post(url, params) {
|
||||
return fetch(url, {
|
||||
method: 'post',
|
||||
mode: 'no-cors',
|
||||
body: JSON.stringify(params),
|
||||
}).then(res => res.json());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue