about page

This commit is contained in:
Jannis R 2018-03-07 02:33:49 +01:00
parent de5f4ca7f8
commit 14efd7ac6f
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 5 additions and 2 deletions

View file

@ -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) => {

View file

@ -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"
}, },