0
Fork 0
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:
Herman Singh 2018-09-07 13:48:43 -04:00 committed by Loïc Hoguin
parent 8045f7a998
commit 86cb105679
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
28 changed files with 28 additions and 28 deletions

View file

@ -13,7 +13,7 @@ start(_Type, _Args) ->
Dispatch = cowboy_router:compile([
{'_', [
{"/", cowboy_static, {priv_file, websocket, "index.html"}},
{"/websocket", ws_handler, []},
{"/websocket", ws_h, []},
{"/static/[...]", cowboy_static, {priv_dir, websocket, "static"}}
]}
]),

View file

@ -1,4 +1,4 @@
-module(ws_handler).
-module(ws_h).
-export([init/2]).
-export([websocket_init/1]).