mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-07 11:45:36 -05:00
detail
This commit is contained in:
parent
f40320a059
commit
fd305b6173
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ let html_list_dir (module VFS:VFS) ~prefix ~parent d : string =
|
||||||
Array.sort compare entries;
|
Array.sort compare entries;
|
||||||
let body = Buffer.create 256 in
|
let body = Buffer.create 256 in
|
||||||
(* TODO: breadcrumbs for the path, each element a link to the given ancestor dir *)
|
(* TODO: breadcrumbs for the path, each element a link to the given ancestor dir *)
|
||||||
Printf.bprintf body {|<head><title> http_of_dir %S</title><meta charset="utf-8">
|
Printf.bprintf body {|<head><title> list directory %S</title><meta charset="utf-8">
|
||||||
</head><body>
|
</head><body>
|
||||||
<h2> Index of %S</h2>
|
<h2> Index of %S</h2>
|
||||||
|} VFS.descr d;
|
|} VFS.descr d;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue