roc-lang / basic-webserver

A basic webserver in Roc
https://roc-lang.github.io/basic-webserver/
Universal Permissive License v1.0
72 stars 15 forks source link

fix hardcoded host value in println #53

Closed joprice closed 4 months ago

joprice commented 4 months ago

The pr https://github.com/roc-lang/basic-webserver/pull/15 exposed host and port as env vars, but left the println hardcoded to 'localhost'. This can be misleading since it makes it seem that the host env var is not taking effect.