Ghost/core/server/web/site/routes.js
Hannah Wolfe bab5764179
Simplified + unified debug naming conventions
- Reduced the number of levels in our debug naming in the frontend
- Unified components like "themes" and "routing" under one name
- Should help to make debug slightly more useful again
2021-07-07 09:57:14 +01:00

8 lines
252 B
JavaScript

const debug = require('@tryghost/debug')('routing');
const routing = require('../../../frontend/services/routing');
module.exports = function siteRoutes(options = {}) {
debug('site Routes', options);
return routing.bootstrap.init(options);
};