From c2db551252c9c8785396226c6d6159c98dbf6903 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Fri, 19 Feb 2021 11:16:35 +0100 Subject: [PATCH] fix: Don't check version when starting up in dev mode --- src/lib/services/version-service.js | 2 +- src/server-dev.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/services/version-service.js b/src/lib/services/version-service.js index 59d87f91ea..789c07e94d 100644 --- a/src/lib/services/version-service.js +++ b/src/lib/services/version-service.js @@ -54,7 +54,7 @@ class VersionService { return { current: this.current, latest: this.latest || {}, - isLatest: this.isLatest || false, + isLatest: this.isLatest, }; } } diff --git a/src/server-dev.ts b/src/server-dev.ts index 53cd07684c..dc40a023b5 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -16,4 +16,7 @@ unleash.start({ session: { db: true }, + versionCheck: { + enable: false, + } });