mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 16:38:22 +03:00
6aafb735b1
- getSubdir, getSiteUrl & getAdminUrl were currently part of @tryghost/url-utils - They have been split out into their own library, and refactored so that they expect to be bound to nconf - With this commit we can do e.g. config.getSubdir() rather than needing @tryghost/url-utils - These functions will be passed to url-utils via DI - This is the first step in breaking down url-utils into smaller pieces - This commit only does a single change in Gruntfile.js to use the new funtions - this will be rolled out slowly |
||
---|---|---|
.. | ||
env | ||
defaults.json | ||
helpers.js | ||
index.js | ||
loader.js | ||
overrides.json | ||
utils.js |