File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9393 ( ocaml ( >= 4 .08) )
9494 ( js_of_ocaml-compiler ( = :version ) )
9595 ( ocamlfind ( >= 1 .5.1) )
96- ( cohttp-lwt-unix :with -test)
96+ ( cohttp-lwt-unix ( and ( >= 6 .0.0 ) :with -test) )
9797 ( graphics :with -test)
9898 ( num :with -test)
9999 ( ppx_expect ( and ( >= v0.14.2) :with -test) )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ depends: [
1616 "ocaml" {>= "4.08"}
1717 "js_of_ocaml-compiler" {= version}
1818 "ocamlfind" {>= "1.5.1"}
19- "cohttp-lwt-unix" {with-test}
19+ "cohttp-lwt-unix" {>= "6.0.0" & with-test}
2020 "graphics" {with-test}
2121 "num" {with-test}
2222 "ppx_expect" {>= "v0.14.2" & with-test}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ let server () =
3131 >> = fun () -> Server. respond_file ~headers: header_plain_user_charset ~fname ()
3232 with _ ->
3333 (* send static file *)
34- let fname = Server. resolve_file ~docroot: " ." ~uri in
34+ let fname = Path. resolve_local_file ~docroot: " ." ~uri in
3535 Lwt_io. eprintf " static: %s\n " fname
3636 >> = fun () ->
3737 let headers =
You can’t perform that action at this time.
0 commit comments