Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit 890e82d

Browse files
committed
remove lib/, fix require stmnts
1 parent 93847b9 commit 890e82d

File tree

10 files changed

+2213
-1686
lines changed

10 files changed

+2213
-1686
lines changed

app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
const express = require('express');
44
const init = require('servicelib-node/init');
5+
const packageInfo = require('./package.json');
56

67
/**
78
* The service's entry point. It takes over the configuration
@@ -13,7 +14,7 @@ const init = require('servicelib-node/init');
1314
* @return {bluebird} HTTP server
1415
*/
1516
module.exports = (options) => {
16-
return init.initApp(options)
17+
return init.initApp(options, packageInfo)
1718
.then((app) => init.loadRoutes(app, `${__dirname}/routes`))
1819
.then((app) => {
1920
// serve static files from static/

lib/api-util.js

Lines changed: 0 additions & 126 deletions
This file was deleted.

lib/swagger-ui.js

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)