Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 146440c

Browse files
btfordpetebacondarwin
authored andcommitted
chore(grunt): do not rewrite gif urls
1 parent bf9e7bf commit 146440c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grunt/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ module.exports = {
303303
rewrite: function(){
304304
return function(req, res, next){
305305
var REWRITE = /\/(guide|api|cookbook|misc|tutorial|error).*$/,
306-
IGNORED = /(\.(css|js|png|jpg)$|partials\/.*\.html$)/,
306+
IGNORED = /(\.(css|js|png|jpg|gif)$|partials\/.*\.html$)/,
307307
match;
308308

309309
if (!IGNORED.test(req.url) && (match = req.url.match(REWRITE))) {

0 commit comments

Comments
 (0)