UNPKG

tripledoc

Version:

Library to read, create and update documents on a Solid Pod

13 lines (9 loc) 317 B
const port = process.env.LR_PORT || process.env.PORT || 35729; process.env.DEBUG = process.env.DEBUG || 'tinylr*'; const debug = require('debug')('tinylr:server'); const app = require('./app'); debug('Starting server'); app.listen(port, function (err) { if (err) throw err; debug('listening on %d', port); });