Add port to erpnext links

Hi,
In mails there is added the link to the documents on the server.
Unfortunately we have to run the server on a non standard port.

Is there a way that the links include the port in the address?
Instead: https://myerp.server.com/app/purchase-order/PUR-ORD-2022-00123
Would need: https://myerp.server.com:8443/app/purchase-order/PUR-ORD-2022-00123

1 Like

Any hint someone can give?

We need to find the templates which generates that links.