diff --git a/index.js b/index.js index ddc90f5..a7cf163 100644 --- a/index.js +++ b/index.js @@ -13,8 +13,11 @@ const config = { hostname: process.env.HOSTNAME || '2.db.transport.rest', port: process.env.PORT || 3000, name: pkg.name, + description: pkg.description, homepage: pkg.homepage, - logging: true + docsLink: 'https://github.com/derhuerst/db-rest/blob/master/docs/index.md', + logging: true, + aboutPage: true } const api = createApi(hafas, config, (api) => { diff --git a/package.json b/package.json index f02adff..f1bc7bc 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "db-hafas": "^2.1.0", "db-stations": "^2.4.0", "db-stations-autocomplete": "^2.1.0", - "hafas-rest-api": "^0.3.5", + "hafas-rest-api": "^0.4.0", "hsts": "^2.1.0", "ndjson": "^1.5.0" },