mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03: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
6 lines
124 B
JavaScript
6 lines
124 B
JavaScript
const UrlService = require('./UrlService');
|
|
const urlService = new UrlService();
|
|
|
|
// Singleton
|
|
module.exports = urlService;
|