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
Debugging and fiddling around, I found the workaround below. However, given that the Kumuluz CORS docs suggest using the nested YAML syntax, this is neither obvious nor really feasible.
Also, speaking of the docs: reading the source, I was surprised to find that setting any CORS config property for a resource makes Kumuluz ignore all annotation values, not just the one corresponding to the property. While that behavior makes sense, it should definitely be documented explicitly!
Hey sorry for posting bad issue but its critical.
I'm not 100% sure but it seems that ConfigurationUtil change from kumuluz/kumuluzee#215
broke com.kumuluz.ee.cors.utils.CorsConfigUtil line 34
ConfigurationUtil cfg = ConfigurationUtil.getInstance();
String configKey = "kumuluzee.cors-filter.annotations." + key;
Optional corsFilterOpt = cfg.get(configKey);
if (corsFilterOpt.isPresent()) {
The text was updated successfully, but these errors were encountered: