Removed public script. Added no-cors to fetch.
This commit is contained in:
1 parent
822d46a2e0
commit
70a239b0dc
3 files changed
+2
-1
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user