浏览代码

[display] server/type: only restore hxb headers

Rudy Ges 1 年之前
父节点
当前提交
1189e3a092
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/context/display/displayJson.ml

+ 1 - 2
src/context/display/displayJson.ml

@@ -353,8 +353,7 @@ let handler =
 			let typeName = hctx.jsonrpc#get_string_param "typeName" in
 			let cc = hctx.display#get_cs#get_context sign in
 			let m = try
-				(* TODO: try with headers only *)
-				find_module ~headers_only:false hctx.com cc path
+				find_module ~headers_only:true hctx.com cc path
 			with Not_found ->
 				hctx.send_error [jstring "No such module"]
 			in