Skip to content
Snippets Groups Projects
Commit 8d1739d4 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Remove content negotiation support for HTML

parent 902a4d72
No related merge requests found
......@@ -118,7 +118,6 @@ public class AppConfig extends WebMvcConfigurerAdapter {
public void configureContentNegotiation(ContentNegotiationConfigurer configurer) {
configurer.mediaType("json", MediaType.APPLICATION_JSON_UTF8);
configurer.mediaType("xml", MediaType.APPLICATION_XML);
configurer.mediaType("html", MediaType.TEXT_HTML);
configurer.defaultContentType(API_V3_MEDIA_TYPE);
configurer.favorParameter(true);
configurer.favorPathExtension(false);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment