Solved enable iframe?
-
I'd like to be able to embed some Nextcloud folders in an iframe.
This is how you'd do it in a traditional environment: https://return2.net/nextcloud-enable-external-iframe/
How can I do this in Cloudron? Can the app admin add it as a flag in the upstream config? Who is the admin for Nextcloud?
-
You can't use that particular method of editing the code, but you could look into setting a custom CSP via the app configuration (may need some maintenance to keep everything working in the future) - https://docs.cloudron.io/apps/#custom-csp - You'd need to get a copy of the CSP header being sent by your installation presently, then you can adjust the iframe sources allowed manually and put the entire adjusted CSP in place.
-
@jimcavoli Thanks, that's fixed it