diff options
Diffstat (limited to 'examples/file_server')
-rw-r--r-- | examples/file_server/src/directory_h.erl (renamed from examples/file_server/src/directory_handler.erl) | 2 | ||||
-rw-r--r-- | examples/file_server/src/file_server_app.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/file_server/src/directory_handler.erl b/examples/file_server/src/directory_h.erl index d16e014..3232a7e 100644 --- a/examples/file_server/src/directory_handler.erl +++ b/examples/file_server/src/directory_h.erl @@ -1,7 +1,7 @@ %% Feel free to use, reuse and abuse the code in this file. %% @doc Directory handler. --module(directory_handler). +-module(directory_h). %% REST Callbacks -export([init/2]). diff --git a/examples/file_server/src/file_server_app.erl b/examples/file_server/src/file_server_app.erl index 3f51855..89d5af0 100644 --- a/examples/file_server/src/file_server_app.erl +++ b/examples/file_server/src/file_server_app.erl @@ -15,7 +15,7 @@ start(_Type, _Args) -> {'_', [ {"/[...]", cowboy_static, {priv_dir, file_server, "", [ {mimetypes, cow_mimetypes, all}, - {dir_handler, directory_handler} + {dir_handler, directory_h} ]}} ]} ]), |