apologies in advance, i've combed the support threads and docs and there's a lot of consistency on what needs to happen to use a local image from the localhost filesystem as a source for an image element
so here's the setup
I've updated my tauri.config.json:
"security": {
"csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost"
},```
i'm using the file open dialog, which 'should' update the filesystem and asset scope list.
i'm logging out the html element, to confirm its there,...
i'm logging out the file path of the dialog
i'm logging out the assetURL after converting it
then i'm setting the image.src property of the element above, and i get an error, maybe ya'll have seen this before
so i've either forgotten to configure something, or i've done something else stupid...
the converted URL is a format that looks questionable to me, but i'm a noob at Tauri, so who knows...
Thoughts?
