0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services/url
kirrg001 c40454f23c Added ability to upload/reload routes.yaml
refs #9744

- added two new endpoints to upload/download routes.yaml
- reload site express app on successful/valid upload
- reload url service on sucessfuly upload
- force clear cache of pages
- ensure we keep a backup of the routes.yaml file
- this feature was mostly tested manually
- @TODO: i have to write unit tests - will do later
- @TODO: do a memory test to ensure we haven't introduced any memory leaks with this feature
2018-08-16 12:13:24 +02:00
..
index.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
Queue.js Added ability to upload/reload routes.yaml 2018-08-16 12:13:24 +02:00
Resource.js Minimized cached data on resource add/update 2018-08-12 14:23:32 +02:00
Resources.js Added ability to upload/reload routes.yaml 2018-08-16 12:13:24 +02:00
UrlGenerator.js Dynamic Routing Beta: Filter collections with NQL (#9704) 2018-06-26 01:54:51 +02:00
Urls.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
UrlService.js Added ability to upload/reload routes.yaml 2018-08-16 12:13:24 +02:00
utils.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00