mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed a crash when theme is changed
refs #10790
- The error was happening due to wrong reference to the site app from themes service
- The issue was introduced in df7e64fafa
This commit is contained in:
parent
22f56c95a8
commit
e056c770da
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ module.exports = {
|
|||
|
||||
if (previousGhostAPI !== undefined && (previousGhostAPI !== currentGhostAPI)) {
|
||||
common.events.emit('services.themes.api.changed');
|
||||
const siteApp = require('../../web/site/app');
|
||||
const siteApp = require('../../../server/web/site/app');
|
||||
siteApp.reload();
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Reference in a new issue