Skip to content

Commit

Permalink
Fix JSHint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tlvince committed May 4, 2014
1 parent 47fef6a commit 7aa9e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swagger-express/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ exports.init = function (app, opt) {
generate(opt);

// Serve up swagger ui static assets
var swHandler = express['static'](opt.swaggerUI);
var swHandler = express.static(opt.swaggerUI);

// Serve up swagger ui interface.
var swaggerURL = new RegExp('^'+ opt.swaggerURL +'(\/.*)?$');
Expand Down

0 comments on commit 7aa9e99

Please sign in to comment.