0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/frontend/services
Hannah Wolfe 409dc3b534
Added frontend key to ghost_head for portal (#14782)
refs: https://github.com/TryGhost/Team/issues/1599
refs: f3d5d9cf6b

- this commit adds the concept of a frontend data service, intended for passing data to the frontend from the server in a clean way. This is the start of a new & improved pattern, to hopefully reduce coupling
- the newly added internal frontend key is then exposed through this pattern so that the frontend can make use of it
- the first use case is so that portal can use it to talk to the content API instead of having weird endpoints for portal
- this key will also be used by other internal scripts in future, it's public and therefore safe to expose, but it's meant for internal use only and therefore is not exposed in a generic way e.g. as a helper
2022-05-11 17:34:31 +01:00
..
apps Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
card-assets Improved error handling in card-assets 2021-11-23 17:24:49 +00:00
data Removed res.locals.apiVersion 2022-04-28 15:35:28 +01:00
helpers Refactored async helpers to use async/await (#14781) 2022-05-11 09:51:38 +01:00
rendering 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
routing 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
rss 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
sitemap 🐛 Added pagination to sitemap.xml to avoid max 50,000 entries limit 2022-01-05 11:54:35 +01:00
theme-engine 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
handlebars.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
proxy.js Added frontend key to ghost_head for portal (#14782) 2022-05-11 17:34:31 +01:00