mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
6e075c78bf
refs https://linear.app/tryghost/issue/CORE-104/decouple-frontend-routing-events-from-urlserver-events - URL module is part of the backend heavily dependent on the model and fits perfectly here. Frontend should get the data it needs by passing a URL manager instance to it
5 lines
124 B
JavaScript
5 lines
124 B
JavaScript
const UrlService = require('./UrlService');
|
|
const urlService = new UrlService();
|
|
|
|
// Singleton
|
|
module.exports = urlService;
|