mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
bab5764179
- 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
8 lines
252 B
JavaScript
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);
|
|
};
|