Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Use baseUriParameters with mocking service
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Aug 10, 2015
1 parent e554418 commit ff4ca41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osprey-mock-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function createServerFromBaseUri (raml, options) {
var app = osprey.Router()
var path = (raml.baseUri || '').replace(/^(\w+:)?\/\/[^\/]+/, '') || '/'

app.use(path, createServer(raml, options))
app.use(path, raml.baseUriParameters, createServer(raml, options))

return app
}
Expand Down

0 comments on commit ff4ca41

Please sign in to comment.