Skip to content

Commit

Permalink
Merge 37d7e3e into e6b053b
Browse files Browse the repository at this point in the history
  • Loading branch information
rwajon committed Jun 11, 2019
2 parents e6b053b + 37d7e3e commit 8c6ff81
Show file tree
Hide file tree
Showing 2 changed files with 1,839 additions and 136 deletions.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ app.use((req, res, next) => {
app.use(express.static(path.join(__dirname, '../templates')));
app.use('/mockups', express.static(path.join(__dirname, '../templates/html')));

app.use('/api/v1/documentation', swaggerUi.serve, swaggerUi.setup(swaggerDocument));
app.use('/api/v1/', routes);
app.use('/swagger-api-docs', swaggerUi.serve, swaggerUi.setup(swaggerDocument));

// catch 404 and forward to error handler
app.use((req, res, next) => {
Expand Down
Loading

0 comments on commit 8c6ff81

Please sign in to comment.