changed --with-ssl to --with-tls
This commit is contained in:
parent
bb8b26dedb
commit
47989ab012
1 changed files with 1 additions and 1 deletions
|
|
@ -92,5 +92,5 @@ main = do
|
||||||
opts <- S.getArgs
|
opts <- S.getArgs
|
||||||
let application = serve api . hoistServer api (runWithEnv env) $ server
|
let application = serve api . hoistServer api (runWithEnv env) $ server
|
||||||
case opts of
|
case opts of
|
||||||
["--with-ssl"] -> WTLS.runTLS tlsSettings warpSettings application
|
["--with-tls"] -> WTLS.runTLS tlsSettings warpSettings application
|
||||||
_ -> W.run 8080 application
|
_ -> W.run 8080 application
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue