mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
no-cors
mode by default.
This commit is contained in:
parent
34304f3662
commit
57d23de975
@ -37,6 +37,9 @@ 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)
|
||||
|
Loading…
Reference in New Issue
Block a user