Skip to content

Commit

Permalink
Serves the swagger static assets from specified swaggerUI path.
Browse files Browse the repository at this point in the history
  • Loading branch information
calmdev committed Dec 12, 2013
1 parent da8bbc1 commit 3b86bff
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 @@ -173,7 +173,7 @@ exports.init = function (app, opt) {
// generate resources
generate(opt);

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

// Serve up swagger ui interface.
Expand Down

0 comments on commit 3b86bff

Please sign in to comment.