"use strict"; import ServerRouter from 'powahroot/Server.mjs'; import route_table from './routes/table.mjs'; export default function(agent) { const router = new ServerRouter(); router.on(`/api/table/:table_name`, route_table.bind(this, agent)); return router; }