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
I'm trying to include a javascript+css widget library from a reflex-dom app compiled with native jsaddle-webkit2gtk.
WebKit refuses:
file:///XXX/index.html:247:76: CONSOLE ERROR Not allowed to load local resource: file:///XXX/node_modules/onsenui/css/onsenui.css
file:///XXX/index.html:247:76: CONSOLE ERROR Not allowed to load local resource: file:///XXX/node_modules/onsenui/css/onsen-css-components.css
file:///XXX/index.html:247:76: CONSOLE ERROR Not allowed to load local resource: file:///XXX/style.css
file:///XXX/index.html:247:76: CONSOLE ERROR Not allowed to load local resource: file:///XXX/node_modules/onsenui/js/onsenui.js
The files are referenced via relative path URLs from my app.
Should a native app refuse to access file URLs? Is there a different way for loading resources in a native app?
The text was updated successfully, but these errors were encountered:
Additional comment: If the resource is placed outside the executable's directory, the resource cannot be loaded due to "kCFErrorDomainCFNetwork" error. (jsaddle-0.9.7.0 , Mac OS 10.14.6)
I'm trying to include a javascript+css widget library from a reflex-dom app compiled with native jsaddle-webkit2gtk.
WebKit refuses:
The files are referenced via relative path URLs from my app.
Should a native app refuse to access
file
URLs? Is there a different way for loading resources in a native app?The text was updated successfully, but these errors were encountered: