v5.0.0-rc.2 #241
joschi
announced in
Announcements
v5.0.0-rc.2
#241
Replies: 1 comment
-
Is there an upgrade guide, yet? I am having trouble migrating my CORS functionality. Migrating the use of CrossOriginFilter to CrossOriginHandler like this does not do the trick. public class CrossOriginFilterBundle implements ConfiguredBundle<ConfigYaml> {
@Override
public void run(ConfigYaml configuration, Environment environment) throws Exception {
CrossOriginHandler corsHandler = new CrossOriginHandler();
corsHandler.setAllowedHeaders(ALLOWED_HEADERS);
corsHandler.setAllowedMethods(ALLOWED_METHODS);
environment.getApplicationContext().insertHandler(corsHandler);
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
Full Changelog: v4.0.12...v5.0.0-rc.2
This discussion was created from the release v5.0.0-rc.2.
Beta Was this translation helpful? Give feedback.
All reactions