0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/web
Naz ba964c549f Moved route settings "getter" to the backend
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings

- Frontend is not meant to know about the underlying source of the "routes" configuration, so any reads/edits/validations are being moved into a backend service. This should also simplify the coupling of the backend with the frontend where the latter will get a JSON blob with all needed configuration during the boot
- Nother problem the "get" method had was hiding an underlying function it was doing - reading the file from the filesystem SYNCRONOUSLY. It might be a thing we need to do during the "web" app initialization, but there's no clear need to do this in a sync fassion during the bootup for example. Also having a more explicit name should help :)
2021-09-28 04:59:41 +13:00
..
admin Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
api Added API endpoint for browsing custom theme settings (#13362) 2021-09-27 11:31:47 +01:00
members v4.15.1 2021-09-23 11:13:56 +01:00
oauth Updated OAuth middleware to use the correct URL helpers 2021-09-23 17:26:29 +01:00
parent Revert "Moved vhost mounts into boot file" 2021-07-08 07:10:18 +01:00
shared Removed non-existent labs file export 2021-08-13 13:41:38 +01:00
site Moved route settings "getter" to the backend 2021-09-28 04:59:41 +13:00
index.js
well-known.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00