chore: debug

This commit is contained in:
cha0s 2024-01-13 14:27:25 -06:00
parent 0d4157054b
commit 00f1654ed9

View File

@ -39,6 +39,7 @@ export const createHttpServer = async (flecks) => {
// Routes.
const routeMiddleware = flecks.makeMiddleware('@flecks/web/server.request.route');
const routes = flatten(flecks.invokeFlat('@flecks/web.routes'));
debug('routes: %O', routes);
routes.forEach(({method, path, middleware}) => app[method](path, routeMiddleware, middleware));
// In development mode, create a proxy to the webpack-dev-server.
if ('production' !== NODE_ENV) {