Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] fix overwriting stack with 404s #701

Open
wants to merge 2 commits into
base: 2.x
Choose a base branch
from

Conversation

BobWez98
Copy link
Collaborator

@BobWez98 BobWez98 commented Jan 13, 2025

Rapidez tries the routes that are in the fallbackcontroller, when they fail and throw a 404, Laravel then wants to render a 404 page overwriting the stack. This can cause for example; not loading in the resizer script added by the startPush in rapidez/statamic: https://github.com/rapidez/statamic/blob/master/src/RapidezStatamicServiceProvider.php#L246

Alternative of: rapidez/statamic#109

3.x: #702

@royduin
Copy link
Member

royduin commented Jan 14, 2025

So this vs rapidez/statamic#109? What's the best option and why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants