niftylettuce/expressling — Issue #6: Possibly wrong regex?
Author: mwawrusch
Created: 2011-12-09 13:15:00+00:00
State: open

I just looked over the code and the regex: https://github.com/niftylettuce/expressling/blob/master/settings.js#L348

seems to be wrong, assuming you want to check for htm and html - in that case the question mark needs to be one to the right.

Caveat: Haven't tested anything, just reading the code.