Server cannot start when JIDO_API_PORT env var is set
patrixl opened this issue · 2 comments
patrixl commented
When JIDO_API_PORT environment variable is set, the http server cannot start:
$ JIDO_API_PORT=8888 ./run.l
HTTP listening on port: 8888
[app.l:26] !? (port *Port)
"8888" -- Bad argument
This happens because *JIDO_API_PORT is a string rather than a number, when the environment variable is loaded.
aw commented
😮 I have no idea how this went over me... good catch!
aw commented
Fixed and rebased with my regression tests. Thanks for the bug report!