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

Ignore part of url #56

Open
braco opened this issue May 12, 2014 · 0 comments
Open

Ignore part of url #56

braco opened this issue May 12, 2014 · 0 comments

Comments

@braco
Copy link

braco commented May 12, 2014

Given a URL like this:

/FOO/bar/baz.jpg

how can I pass just "bar/baz.jpg" to gzippo, ignoring FOO?

I believe the regular connect middleware checks for the existence of an arg, like so:
app.get("/FOO/:filename(*.jpg)", ...

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

No branches or pull requests

1 participant