You can change your referance type. For example, you can describe your website name on ENV file like this:
application_url = 'yourdomain.com or local ip http://127.0.0.1'
and then, you can cal your url on html like this :
href="{{env('application_url')}}/145/edit"
and you can describe your Route just like this :
Route::get('/station/{id}/edit', [StationController::class, 'showStationEdit']);
or directly use your href like this, your IP is important if you work on your local :
href="http://127.0.0.1/1254/edit"
I hope it’s answer what you solve your problem.
CLICK HERE to find out more related problems solutions.