mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Rename handler modules to _h
This commit is contained in:
parent
8045f7a998
commit
86cb105679
28 changed files with 28 additions and 28 deletions
|
@ -13,7 +13,7 @@ start(_Type, _Args) ->
|
|||
Dispatch = cowboy_router:compile([
|
||||
{'_', [
|
||||
{"/", cowboy_static, {priv_file, upload, "index.html"}},
|
||||
{"/upload", upload_handler, []}
|
||||
{"/upload", upload_h, []}
|
||||
]}
|
||||
]),
|
||||
{ok, _} = cowboy:start_clear(http, [{port, 8080}], #{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
%% @doc Upload handler.
|
||||
-module(upload_handler).
|
||||
-module(upload_h).
|
||||
|
||||
-export([init/2]).
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue