After updating the mautic to latest 4 i cant login

When I open the browser url https://mautic.ddev.site it redirectls me here

https://mautic.ddev.site/mautic/s/dashboard

Why it tries to redirect me to /mautic…there is no folder there I get this error

I'm sorry! I couldn't find the page you were looking for.

#### **404** Not Found

If I change url to https://mautic.ddev.site/s/dashboard I can see login window but after submitting the login it takes me back to https://mautic.ddev.site/mautic/s/dashboard and 404 page

ok fixed this by changing site_name in the local.php