replace favicon middleware with something more generic #559

Closed
kof opened this Issue May 4, 2012 · 2 comments

3 participants

@kof
kof commented May 4, 2012

hi,

I just needed to serve robots.txt, so I wrote a middleware for robots.txt and copied 99% of favicon middleware for it. Could we rename favicon middleware to something more generic and make it possible to serve some more file types?

Best,
Oleg

@tj
Sencha Labs member
tj commented May 4, 2012

maybe connect.serve() or something, it might get confused with static(). we should also probably just use static() behind the scenes for conditional-gets etc anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment