Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
8d1739d4
Commit
8d1739d4
authored
7 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Remove content negotiation support for HTML
parent
902a4d72
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/config/AppConfig.java
+0
-1
0 additions, 1 deletion
src/main/java/de/thm/arsnova/config/AppConfig.java
with
0 additions
and
1 deletion
src/main/java/de/thm/arsnova/config/AppConfig.java
+
0
−
1
View file @
8d1739d4
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment