Can't access files in public folder in packaged app #17007
Labels
bug/1-hard-to-reproduce
A reproduction is available, but it's hard to reproduce, so it has a lower priority.
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
mode/electron
Qv2 🔝
Quasar v2 issues
What happened?
When the Quasar Electron project is built and packaged, all public files are inaccessible when attempting to access them from the root path.
For example,
<img src="/icons/favicon-128x128.png" />
tries to get the file at pathfile:///icons/favicon-128x128.png
instead of a path like thisfile:/// tmp/.mount_QuasarLLn7Ki/resources/app.asar/icons/favicon-128x128.png
What did you expect to happen?
Files in the public folder were accessible through the root path.
Reproduction URL
https://github.com/darkxanter/quasar-electron-public-folder-bug
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Electron Mode
Platforms/Browsers
Electron
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: