Browse Source

single endpoint for both page and game events

Maxim Sokhatsky 11 years ago
parent
commit
3e649dcd6c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      apps/face/src/web_sup.erl

+ 1 - 2
apps/face/src/web_sup.erl

@@ -29,7 +29,6 @@ dispatch_rules() ->
                                                 {mimetypes, {fun mimetypes:path_to_mimes/2, default}}]},
             {"/rest/:resource", rest_cowboy, []},
             {"/rest/:resource/:id", rest_cowboy, []},
-            {"/ws/[...]", bullet_handler, [{handler, n2o_bullet}]},
-            {"/game/[...]", bullet_handler, [{handler, n2o_game}]},
+            {"/ws/[...]", bullet_handler, [{handler, n2o_game}]},
             {'_', n2o_cowboy, []}
     ]}]).