Links when sending quotes and invoices

Hi all,

This probably has been asked but I didn’t find anything.
everytime I send an invoice or quote to the customer, they recieves the email but when they click the “view quote/invoice” button it directs them to the local IP of the server.

Note I had originally setup the app URL in the ENV file as a local IP but have now changed it to a publicly accessible domain name.

i login as per normal via the domain name and have cleared the cache but the local ip still appears in the view quote/invoice and obviously the customer cannot reach that address.

is there something I need to clear?

found the solution.

Settings > Client portal
this was still using the local IP. updating this to the domain name url fixed the issue

Bit of a weird one here - when I do this in React it works fine, but in Flutter it doubles up the domain …