redirect_service: forward to correct port
authorSven Rademakers <sven.rademakers@gmail.com>
Thu, 9 Nov 2023 11:13:46 +0000 (11:13 +0000)
committerSven Rademakers <sven.rademakers@gmail.com>
Thu, 9 Nov 2023 14:53:39 +0000 (14:53 +0000)
commit07a3da443df868519ac66b20513f584b164d891c
tree774c178d5f8fc6c8ac7b14eed78509eae4cf65e5
parent15f68f9d0e7251db54ec3eb48d0de6560f7da919
redirect_service: forward to correct port

The redirect service was not taking into account an explicitly configured
HTTP port. Resulting i a redirect that was not resolvable.
By parsing the configured port in the destination location, browsers now
can forward correctly requests to port 80.
src/main.rs