inertiajs / inertia-laravel

The Laravel adapter for Inertia.js.
https://inertiajs.com
MIT License
2.01k stars 224 forks source link

Redirect Back issue #551

Closed stescacom closed 10 months ago

stescacom commented 10 months ago

This caught me by surprise, In dev response back() would redirect back to the proper page. In production inertia shows a modal with the statement {} redirecting to .... What is causing this issue?

I have tried to_route() as well. The first redirect on this is proper, recurring redirect shows the modal again.

reinink commented 10 months ago

Hey! So without more information (a code snippet) or git repo demonstrating this issue it's really hard to help out here. Based on what you're saying I can even think of any common issues that people run into here. Going to close this one for now, but if you're able to share a minimal reproduction I'd be happy to have another look 👍