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
@ -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…
Reference in New Issue
Block a user