After upgrading legacy/public is added to links

After I upgraded to 8.2.4 /legacy/public/ is added to links in notification emails so they do not work (they do work after I delete “legacy/public/” from the address).

Is the only problem with addresses that I have, all the links inside the CRM are OK.

How can I change it?

Thanks in advance