Level 122
You need to diagnose the issue further - we cannot guess for you
When you click edit, something happens... a request is sent to the server. You can look at this request in your browser inspector network tools.
This will tell you what request is actually being made.
Most likely issue is that you have not set the server with the correct document root and you are having to access your site like domain.com/laravel/public/index.php