build: prevent infinite loop during install
This commit is contained in:
@ -101,7 +101,6 @@ gulp.task('serve', connect.server({
|
|||||||
return [function(req, resp, next){
|
return [function(req, resp, next){
|
||||||
if (req.url.match(/\.dart$/)) {
|
if (req.url.match(/\.dart$/)) {
|
||||||
resp.setHeader("Content-Type", "application/dart");
|
resp.setHeader("Content-Type", "application/dart");
|
||||||
console.log('now', req.url);
|
|
||||||
}
|
}
|
||||||
next();
|
next();
|
||||||
}];
|
}];
|
||||||
|
Reference in New Issue
Block a user