about page
This commit is contained in:
parent
de5f4ca7f8
commit
14efd7ac6f
2 changed files with 5 additions and 2 deletions
5
index.js
5
index.js
|
@ -13,8 +13,11 @@ const config = {
|
||||||
hostname: process.env.HOSTNAME || '2.db.transport.rest',
|
hostname: process.env.HOSTNAME || '2.db.transport.rest',
|
||||||
port: process.env.PORT || 3000,
|
port: process.env.PORT || 3000,
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
|
description: pkg.description,
|
||||||
homepage: pkg.homepage,
|
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) => {
|
const api = createApi(hafas, config, (api) => {
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
"db-hafas": "^2.1.0",
|
"db-hafas": "^2.1.0",
|
||||||
"db-stations": "^2.4.0",
|
"db-stations": "^2.4.0",
|
||||||
"db-stations-autocomplete": "^2.1.0",
|
"db-stations-autocomplete": "^2.1.0",
|
||||||
"hafas-rest-api": "^0.3.5",
|
"hafas-rest-api": "^0.4.0",
|
||||||
"hsts": "^2.1.0",
|
"hsts": "^2.1.0",
|
||||||
"ndjson": "^1.5.0"
|
"ndjson": "^1.5.0"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue