UNPKG

@nzz/q-server

Version:

__Q__ is a system that lets journalists create visual elements for stories. It is developed by [NZZ Storytelling](https://www.nzz.ch/storytelling) and used in the [NZZ](https://www.nzz.ch) newsroom.

35 lines (26 loc) 707 B
function getRoutes() { const server = require('../server').getServer(); let routes = [ require('./tools/default').get, require('./tools/default').post, require('./editor/targets'), require('./editor/tools'), require('./editor/config'), require('./editor/locales'), require('./rendering-info').getRenderingInfoRoute, require('./rendering-info').postRenderingInfoRoute, require('./search'), require('./statistics/number-of-items'), require('./admin/migration'), require('./version'), require('./health'), ] .concat( require('./item.js'), require('./tools/schema') ) return routes; } module.exports = { getRoutes: getRoutes };