Commit c59cd707 authored by Mathieu's avatar Mathieu
Browse files

Fix content types

parent e8f5db42
......@@ -197,7 +197,7 @@ class ConnectServlet(arguments: ConnectServer.ServletArguments) extends Scalatra
}
get("/*") {
getResource(request.uri.getPath, request.getContentType)
getResource(request.uri.getPath, request.contentType.getOrElse("html"))
}
get("/") {
......
Markdown is supported
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