You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking this needs to be written to zcml - as they do it, but maybe from settings from zope.conf and maybe some default variables in buildout.cfg or mx.ini
Thoughts?
The text was updated successfully, but these errors were encountered:
@flipmcf Assuming your package's zcml is already loaded in the buildout configuration (i.e. in the zcml = setting for plone.recipe.zope2instance, or using plone.autoinclude) you should be able to simply put this zcml inside your Python package in overrides.zcml (or another file included from there)
This is exactly how I'm handling it now. I'm thinking into the future where you can configure your backend site-settings and store these in the registry.
the use-case is that I want a UI interface (so I don't have to code).
Also, consider the use case where zope/plone installs that run multiple sites through VHM and each needs it's own CORS config. Not my use case specially, but definitely others have this.
The docker images are running this to get CORS errors to go away:
https://github.com/plone/plone-backend/blob/6.0.x/skeleton/scripts/cors.py
I'm thinking this needs to be written to zcml - as they do it, but maybe from settings from zope.conf and maybe some default variables in buildout.cfg or mx.ini
Thoughts?
The text was updated successfully, but these errors were encountered: