11 lines
230 B
Erlang
11 lines
230 B
Erlang
|
%% Feel free to use, reuse and abuse the code in this file.
|
||
|
|
||
|
-module(hello_h).
|
||
|
|
||
|
-export([init/2]).
|
||
|
|
||
|
init(Req, State) ->
|
||
|
{ok, cowboy_req:reply(200, #{
|
||
|
<<"content-type">> => <<"text/plain">>
|
||
|
}, <<"Hello world!">>, Req), State}.
|