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

Re-work how BasicValetDriver serves files in projects with and without public/ directory #1311

Merged
merged 3 commits into from
Dec 15, 2022

Conversation

mattstauffer
Copy link
Collaborator

Closes #1309.
Replaces #1303.

Requires a bump to v4 because it's backwards compatibility breaking if someone was relying on the old behavior (which can be seen described in #1309).

I split off BasicValetDriver and BasicWithPublicValetDriver so sites with public are better corralled in terms of what files they serve, and so that both drivers can be much simpler.

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.

When serving a site from/public, Valet will also serve matching files from the project root, and shouldn't
2 participants