Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets directories need to be writable by the web server #25

Open
sebbASF opened this issue Dec 8, 2022 · 0 comments
Open

Assets directories need to be writable by the web server #25

sebbASF opened this issue Dec 8, 2022 · 0 comments

Comments

@sebbASF
Copy link
Collaborator

sebbASF commented Dec 8, 2022

If Wunderbar does not find an asset with the expected name and size, it tries to install a copy from the embedded vendor files.

This requires write access to (parts of) the directory structure by the running webserver, which is not normally recommended.

If the resources are to be bundled with Wunderbar, a workround might be to have a setup script that can be used to populate an assets directory. There would still be a potential issue when Wunderbar resources are updated, unless the Asset code is also changed so it does not try to replace any files that are not the expected size.

It would probably be useful to keep the existing search logic, so users can install the files centrally or locally to each app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant