mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-19 12:15:28 +00:00
fix content type
bug5153
This commit is contained in:
@@ -82,6 +82,7 @@ public class ClientConfigurationServlet extends HttpServlet {
|
||||
final String servletPath = req.getServletPath();
|
||||
final byte[] cachedPage;
|
||||
final String pageKey = generateKey(servletPath, deBrandingActive);
|
||||
resp.setContentType("text/html;charset=UTF-8");
|
||||
if ((cachedPage = cache.get(pageKey)) != null) {
|
||||
IOUtils.write(cachedPage, resp.getOutputStream());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user