Removed public script. Added no-cors to fetch.

This commit is contained in:
Mike Cao committed 2020-07-18 03:01:18 -07:00
1 parent 822d46a2e0
commit 70a239b0dc
3 files changed
+2 -1

No files matched your search

+1
View File
@@ -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());
}