You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(electron): allow cross-origin XHR/fetch to asset:// scheme
The asset:// scheme was registered with only supportFetchAPI+stream,
which caused Chromium to block XHR/fetch from the phtauri://localhost
app origin to asset://localhost/... with a CORS error. Extensions
loaded from appLocalData/assets/ failed to load their requirejs-config,
keymap, snippets, and HTML panels.
Add standard+secure+corsEnabled to the scheme privileges (matching
phtauri and Tauri's wry asset protocol) and set Access-Control-Allow-Origin:*
on responses so cross-origin reads from the app are allowed.
0 commit comments