mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
0ede559d5b
- 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
5 lines
130 B
JavaScript
5 lines
130 B
JavaScript
const CardAssetService = require('./service');
|
|
let cardAssetService = new CardAssetService();
|
|
|
|
module.exports = cardAssetService;
|