Skip to content

Commit

Permalink
Merge pull request #4945 from ember-cli/name-thing
Browse files Browse the repository at this point in the history
Name anonymous function to improve debug logging
  • Loading branch information
stefanpenner committed Oct 12, 2015
2 parents 146a614 + a964624 commit 14d23db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/server/middleware/serve-files/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ServeFilesAddon.prototype.serverMiddleware = function(options) {

debug('serverMiddleware: output: %s baseURL: %s', options.outputPath, baseURL);

app.use(function(req, res, next) {
app.use(function ServeFiles(req, res, next) {
var oldURL = req.url;
var url = req.serveUrl || req.url;
debug('serving: %s', url);
Expand Down

0 comments on commit 14d23db

Please sign in to comment.