Ghost/core/frontend/services/card-assets/index.js
Hannah Wolfe 0ede559d5b
🐛 Fixed card asset init/reload behaviour
- Card asset reloading was incorrectly only happening if the API version changed 🙈
- In addition, having an init function was redundant, as theme activation happens on boot
- This meant that the card assets were being generated twice on boot
- Instead, we now only generate them on theme activation, which covers the boot case and simplifies all the logic
2021-11-23 12:53:58 +00:00

5 lines
130 B
JavaScript

const CardAssetService = require('./service');
let cardAssetService = new CardAssetService();
module.exports = cardAssetService;