rio-labs / rio

WebApps in pure Python. No JavaScript, HTML and CSS needed
https://rio.dev
Apache License 2.0
598 stars 25 forks source link

[Feature Request] Local Filesystem Interaction Examples #130

Open non-npc opened 3 weeks ago

non-npc commented 3 weeks ago

Description

Any examples highlighting using the local file system for file operations? I am trying to create a simple file browser like windows file explorer but consistently run into cross-origin errors in the webview.

Suggested Solution

an example displaying how to interact with the local file system without cross-origin errors in the webview

Alternatives

No response

Additional Context

No response

Related Issues/Pull Requests

No response

mad-moo commented 3 weeks ago

Hey! Can you give a few more details about what you're doing exactly? Since file system access is handled by Python and not Rio I'm not sure what to include in the example. A minimum runnable example would be great so we can reproduce the CORS errors.

Sn3llius commented 1 day ago

@non-npc can you provide please a minimum runnable example so we can reproduce the CORS errors? Thank you!