0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core
Naz 5a62253466 Removed "router" dependency from UrlGenerator
refs https://github.com/TryGhost/Toolbox/issues/127

- Passing around whole instance of a frontend router was an overkill when there are only 3 static pieces of information that needed to be loaded. Extracting the router out makes the UrlGenerator way more readable, tests slimer, and the memory footpring of the process should be slightly lighter
- The toString overloading didn't make sense at the time of this refactor, maybe if there's a concrete usecase we could resurect it in a form of passing in a router's name or something.
2021-11-15 18:32:34 +04:00
..
client@7e8c8585a1 Updated Admin to v4.22.3 2021-11-15 13:43:15 +00:00
frontend Removed "router" dependency from UrlGenerator 2021-11-15 18:32:34 +04:00
server Removed "router" dependency from UrlGenerator 2021-11-15 18:32:34 +04:00
shared Added "urlCache" labs alpha flag 2021-11-12 12:24:27 +04:00
app.js
boot.js Added url cache persistance on instance shutdown 2021-11-13 01:01:28 +13:00
bridge.js Initial card asset service implementation 2021-11-04 11:34:40 +00:00