When I try to parse url without protocol specified like test.com, example.com or example.com/path, the host will be localhost and the input will be considered as path. For example,
I think it is due to the baseUrl being location and the input is considered as a relative url. Is there an option to specify that it's an absolute url?
Version: 1.4.7
When I try to parse url without protocol specified like
test.com
,example.com
orexample.com/path
, the host will be localhost and the input will be considered as path. For example,results in
I think it is due to the
baseUrl
beinglocation
and the input is considered as a relative url. Is there an option to specify that it's an absolute url?