From 1f6088a8641e70e40d072b5955287514fc54ebb5 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Wed, 24 Nov 2021 11:56:18 +0500 Subject: [PATCH] fix: allow setting ISSUES_HOST --- packages/core/api/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/api/index.js b/packages/core/api/index.js index 5cc56b00e..df334f013 100644 --- a/packages/core/api/index.js +++ b/packages/core/api/index.js @@ -192,7 +192,7 @@ class Database { /** * - * @param {{AUTH_HOST: string, API_HOST: string, SSE_HOST: string, SUBSCRIPTIONS_HOST: string}} hosts + * @param {{AUTH_HOST: string, API_HOST: string, SSE_HOST: string, SUBSCRIPTIONS_HOST: string, ISSUES_HOST: string}} hosts */ host(hosts) { if (process.env.NODE_ENV !== "production") { @@ -201,6 +201,7 @@ class Database { Constants.SSE_HOST = hosts.SSE_HOST || Constants.SSE_HOST; Constants.SUBSCRIPTIONS_HOST = hosts.SUBSCRIPTIONS_HOST || Constants.SUBSCRIPTIONS_HOST; + Constants.ISSUES_HOST = hosts.ISSUES_HOST || Constants.ISSUES_HOST; } }