File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 77
88open Js_utils
99open Lwt
10- open Learnocaml_data
1110open Learnocaml_common
1211
1312module H = Tyxml_js. Html5
Original file line number Diff line number Diff line change 88open Js_utils
99open Lwt
1010open Learnocaml_common
11- open Learnocaml_api
1211
1312module El = struct
1413 let id s = s, find_component s
Original file line number Diff line number Diff line change @@ -1092,7 +1092,7 @@ end
10921092module Server_config = struct
10931093 let doc = " Get a structured json containing an information about the use_password compatibility"
10941094
1095- let server_config o = (* get_config_o ~allow_static:true o
1095+ let server_config _o = (* get_config_o ~allow_static:true o
10961096 >>= fun {ConfigFile.server;token} ->
10971097 fetch server (Learnocaml_api.Server_config)
10981098 >>= (fun index->
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ open Lwt.Infix
4141let read_static_file path =
4242 Lwt_io. (with_file ~mode: Input (sanitise_path ! static_dir path) read)
4343
44- exception Too_long_body
44+ (* exception Too_long_body
4545
4646let string_of_stream ?(max_size = 1024 * 1024) s =
4747 let b = Buffer.create (64 * 1024) in
@@ -61,7 +61,7 @@ let string_of_stream ?(max_size = 1024 * 1024) s =
6161 end begin function
6262 | Too_long_body -> Lwt.return None
6363 | e -> Lwt.fail e
64- end
64+ end*)
6565
6666module Api = Learnocaml_api
6767
You can’t perform that action at this time.
0 commit comments