From 4dd44dfd9f761525a46582b279d5cb0666eedaa0 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Tue, 4 Jun 2024 15:28:02 -0400 Subject: [PATCH] Revert "Fix extra requests in standalone mode" This reverts commit 41612209656fcf9c6c95607e7a5ea94e74f80dad. --- src/utils/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dashboard.js b/src/utils/dashboard.js index 65c34fc309..393125c6fd 100644 --- a/src/utils/dashboard.js +++ b/src/utils/dashboard.js @@ -21,7 +21,7 @@ export function getCurrentUser() { // TODO: investigate url prefix support for serverAddress function export async function serverAddress() { - const apiClient = window.ApiClient ?? ServerConnections.currentApiClient(); + const apiClient = window.ApiClient; if (apiClient) { return Promise.resolve(apiClient.serverAddress());