0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core
Simon Backx 366a7be36d 🐛 Fixed newsletters' header_image saved as absolute url (#14690)
refs https://github.com/TryGhost/Team/issues/1579

- When writing to the database, the header_image is tranformed to the transformReady path
- When reading from the database, the transformReady path is transformed to an absolute path
- Includes a test when adding a newsletter

Migration:
- Updates all newsletter who have a header_image to make sure it is saved in transform ready format
- Down operation is required to work with the old model logic and transforms it back to an absolute format
2022-05-05 09:44:03 +01:00
..
client@5751899e5b Updated Admin to v4.46.0 2022-04-28 15:29:18 +01:00
frontend 🔥 Removed {{author}} helper support 2022-05-02 17:59:48 +08:00
server 🐛 Fixed newsletters' header_image saved as absolute url (#14690) 2022-05-05 09:44:03 +01:00
shared Promoted multiple newsletters UI labs flag to private beta 2022-04-28 10:54:59 +01:00
app.js
boot.js Removed config and bluebird from ghost-server 2022-04-28 15:37:10 +01:00
bridge.js Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00