From c4af78cd00efb354b2515f03dc0155b4663b348c Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Thu, 20 Jan 2022 17:29:15 +0000 Subject: [PATCH] Remove self hosted check --- packages/server/src/api/controllers/application.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/server/src/api/controllers/application.js b/packages/server/src/api/controllers/application.js index 48e2b19a9d..0f190c6333 100644 --- a/packages/server/src/api/controllers/application.js +++ b/packages/server/src/api/controllers/application.js @@ -88,9 +88,6 @@ async function getAppUrlIfNotInUse(ctx) { if (url) { url = `/${url.replace(URL_REGEX_SLASH, "")}`.toLowerCase() } - if (!env.SELF_HOSTED) { - return url - } const deployedApps = await getDeployedApps() if ( url &&