Merge "Use default cors config also when run as wsgi app"
This commit is contained in:
commit
2456c7d000
|
@ -65,6 +65,7 @@ def _setup_os_profiler():
|
||||||
|
|
||||||
|
|
||||||
def init_app():
|
def init_app():
|
||||||
|
config.set_config_defaults()
|
||||||
config_files = _get_config_files()
|
config_files = _get_config_files()
|
||||||
CONF([], project='glance', default_config_files=config_files)
|
CONF([], project='glance', default_config_files=config_files)
|
||||||
logging.setup(CONF, "glance")
|
logging.setup(CONF, "glance")
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Bug 1861334_: cors config defaults not used when Glance is run as WSGI app
|
||||||
|
|
||||||
|
.. _1861334: https://bugs.launchpad.net/glance/+bug/1861334
|
Loading…
Reference in New Issue