diff --git a/core/server/services/url/UrlService.js b/core/server/services/url/UrlService.js index cb6f0a5632..9ac52851a1 100644 --- a/core/server/services/url/UrlService.js +++ b/core/server/services/url/UrlService.js @@ -286,9 +286,11 @@ class UrlService { * @TODO: Either remove this helper or rename to `_init`, because it's a little confusing, * because this service get's initalised via events. */ - init() { - this.resources.fetchResources(); + async init() { + this.resources.initResourceConfig(); this.resources.initEvenListeners(); + await this.resources.fetchResources(); + // CASE: all resources are fetched, start the queue this.queue.start({ event: 'init',