diff --git a/examples/file_server/src/directory_h.erl b/examples/file_server/src/directory_h.erl index a1e0f009..80e4cd28 100644 --- a/examples/file_server/src/directory_h.erl +++ b/examples/file_server/src/directory_h.erl @@ -42,12 +42,12 @@ list_html(Req, {Path, Fs}) -> {HTML, Req, Path}. links(<<>>, "..") -> - ["", "..", "
\n"]; + ["", "..", "
\n"]; links(Prefix, "..") -> - Toks = string:tokens(binary_to_list(Prefix), "/"), - Back = lists:join( "/", lists:delete(lists:last(Toks), Toks)), - ["", "..", "
\n"]; + Toks = string:tokens(binary_to_list(Prefix), "/"), + Back = lists:join( "/", lists:delete(lists:last(Toks), Toks)), + ["", "..", "
\n"]; links(<<>>, File) -> - ["", File, "
\n"]; + ["", File, "
\n"]; links(Prefix, File) -> - ["", File, "
\n"]. \ No newline at end of file + ["", File, "
\n"]. \ No newline at end of file