mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
7f0bf62ec9
refs https://github.com/TryGhost/Toolbox/issues/214 - The `defaultSettings` path name in the config (one pointing to routes yaml file) creates confusion with the `defaultSettings` which populate defaults for in the database settings table. - Furthermore, the name collision creates a problem when trying to make database default settings dynamic - being able to load them from configurable file path. - Rename makes "routing" explicit to avoid ambiguity and free up the name for the database defaults - The value seems to be safe to be renamed as all keys used in `overrides.json` are taking priority - the name "defaultRouteSettings" hasn't surfaced at any point in the git history |
||
---|---|---|
.. | ||
default-routes.yaml | ||
default-settings-manager.js | ||
index.js | ||
route-settings.js | ||
settings-loader.js | ||
validate.js | ||
yaml-parser.js |