Ghost/core/shared/config
Hannah Wolfe 6aafb735b1
Added config-url-helpers to config
- 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
2021-06-18 20:05:00 +01:00
..
env Changed DB path for SQLite tests 2021-02-19 12:21:00 +00:00
defaults.json Updated multiple products UI handling on Portal 2021-06-11 15:10:23 +05:30
helpers.js Split config utils into utils and helpers 2021-06-16 15:05:51 +01:00
index.js Renamed config index to loader 2021-06-16 14:42:06 +01:00
loader.js Added config-url-helpers to config 2021-06-18 20:05:00 +01:00
overrides.json Added default API version to config 2021-04-21 14:57:07 +01:00
utils.js Split config utils into utils and helpers 2021-06-16 15:05:51 +01:00