Revert "`no-cors` mode by default."

This reverts commit 57d23de975.
This commit is contained in:
FireMasterK 2021-02-05 19:42:20 +05:30
parent 57d23de975
commit f9b5e0aa63
No known key found for this signature in database
GPG Key ID: 8DFF5DD33E93DB58
1 changed files with 0 additions and 3 deletions

View File

@ -37,9 +37,6 @@ const mixin = {
}
}
var fetchFn = window.fetch;
window.fetch = function (url, config) { if (!config) { config = {} } if (!config.mode) { config.mode = 'no-cors' } return fetchFn(url, config) }
const app = createApp(App)
app.use(router)
app.mixin(mixin)