Remove port from generated links


Is it possible to remove the Port from generated Links?

For example, when I generate URL for Administrator login with this command: “bench browse --user Administrator” I am getting a URL that looks like this:

I already deleted the “webserver_port” entry under “~/frappe-bench/sites”. Thats why “:None” gets generated and not the default “:8000”.

How can i remove the “:None” from the URL?