Skip to content

Update caddy.md #1532

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

Merged
merged 1 commit into from
Apr 15, 2022
Merged

Update caddy.md #1532

merged 1 commit into from
Apr 15, 2022

Conversation

mholt
Copy link
Contributor

@mholt mholt commented Apr 15, 2022

Not a big deal, just a closing backtick seems to be missing here. 🤷‍♂️

@@ -31,5 +31,5 @@ For instance, if you want to route all requests to a path starting with `/admin`
{header.Accept}.matches("\\btext/html\\b")
- && !{path}.matches("(?i)(?:^/docs|^/graphql|^/bundles/|^/_profiler|^/_wdt|\\.(?:json|html$|csv$|ya?ml$|xml$))")
+ && !{path}.matches("(?i)(?:^/admin|^/docs|^/graphql|^/bundles/|^/_profiler|^/_wdt|\\.(?:json|html$|csv$|ya?ml$|xml$))")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also added admin here though.

Copy link
Contributor Author

@mholt mholt Apr 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not; it was already there. If you look at the refined diff, I only added the backtick at the end.

I think GitHub is erroneously rendering these lines of the patch block as part of this patch, which didn't actually change. The only change is L34.

@dunglas dunglas merged commit b872156 into api-platform:2.6 Apr 15, 2022
@dunglas
Copy link
Member

dunglas commented Apr 15, 2022

Thanks Matt!

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.

3 participants