Currently the getBaseUrl function is not working for local environments that have a port other than 80. The Host header can optionally include that. My bad!
This fixes #6 by properly addressing the issue and also adds tests to ensure it won't fail again.
Currently the
getBaseUrl
function is not working for local environments that have a port other than80
. TheHost
header can optionally include that. My bad!This fixes #6 by properly addressing the issue and also adds tests to ensure it won't fail again.