fix
This commit is contained in:
parent
0988cc5945
commit
0fc1d25219
@ -30,10 +30,7 @@ start_http_server() ->
|
||||
Port = proplists:get_value(port, Props),
|
||||
|
||||
Dispatcher = cowboy_router:compile([
|
||||
{'_', [
|
||||
{"/ws", service_channel, []},
|
||||
{"/files/[...]", cowboy_static, {dir, "/usr/local/code/downloads"}}
|
||||
]}
|
||||
{'_', [{"/ws", service_channel, []}]}
|
||||
]),
|
||||
|
||||
TransOpts = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user