From 1a370a3708fe2da6d3412a99a72ed762e1b2350a Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 9 Feb 2021 12:40:52 +0000 Subject: [PATCH] Fixed path to analytics-events in boot file refs https://github.com/TryGhost/Ghost/commit/0b79abf5b252ab561a6024368d663eeff8da8727 - in the referenced commit, we refactored the boot code to simplify it - one of the required files was not updated with the change, so the path was wrong - this wouldn't have been easily visible from local testing because it's based upon a config flag that isn't on by default - this commit updates the path to the file --- core/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/boot.js b/core/boot.js index dffe572e4d..83125874de 100644 --- a/core/boot.js +++ b/core/boot.js @@ -94,7 +94,7 @@ const initServices = async ({config}) => { // Initialise analytics events if (config.get('segment:key')) { - require('./analytics-events').init(); + require('./server/analytics-events').init(); } debug('End: initialiseServices');