I am new in OCaml and playing with opium
I am trying to change port in code like that
let app =
App.empty
|> middleware uppercase
|> home
|> hello
|> vers
|> App.cmd_name "demo1"
let _ =
let localport = 8000 in
printf "Run server on port %d \n" localport ; flush stdout ;
app |> App.port localport |> App.run_command
but I got
./demo1.native -v
Run server on port 8000
demo1.native: main: Running on port: 3000
Do you have a mailing list for opium question/request please ?
please what am I doing wrong please?
I am new in OCaml and playing with opium I am trying to change port in code like that
but I got
thanks