0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services/url
Hannah Wolfe 5e5b90ac29
Added Url Service to track all URLs in the system (#9247)
refs #9192

- Introduces a url service that can be initialised
- Added a concept of Resources and resource config.json that contains details about the resources in the system that we may want to make customisable 
- Note that individual resources know how to create their own Urls... this is important for later
- Url Service loads all of the resources, and stores their URLs
- The UrlService binds to all events, so that when a resource changes its url and related data can be updated if needed
- There is a temporary config guard so that this can be turned off easily
2017-11-16 13:03:24 +00:00
..
cache.js Added Url Service to track all URLs in the system (#9247) 2017-11-16 13:03:24 +00:00
config.json Added Url Service to track all URLs in the system (#9247) 2017-11-16 13:03:24 +00:00
index.js Added Url Service to track all URLs in the system (#9247) 2017-11-16 13:03:24 +00:00
Resource.js Added Url Service to track all URLs in the system (#9247) 2017-11-16 13:03:24 +00:00
UrlService.js Added Url Service to track all URLs in the system (#9247) 2017-11-16 13:03:24 +00:00