Host()
should not include a protocol:
Note that not every web application supports a custom path (PathPrefix()
and stripPrefix
), instead a sub-domain is best practice. It’s discussed like here about every other week.
Host()
should not include a protocol:
Note that not every web application supports a custom path (PathPrefix()
and stripPrefix
), instead a sub-domain is best practice. It’s discussed like here about every other week.