|
-export([init/1, start/2, stop/1, main/1]).
|
|
-export([init/1, start/2, stop/1, main/1]).
|
|
start(_,_) -> supervisor:start_link({local,sample},sample,[]).
|
|
start(_,_) -> supervisor:start_link({local,sample},sample,[]).
|
|
init([]) -> case cowboy:start_http(http,3,port(),env()) of
|
|
init([]) -> case cowboy:start_http(http,3,port(),env()) of
|