From 3e8398e3ad7be91522399aed1a3835f1661aa6cf Mon Sep 17 00:00:00 2001 From: gabalafou Date: Fri, 18 Oct 2024 16:54:39 +0300 Subject: [PATCH] REACT_APP_URL_BASENAME --- .../_internal/server/templates/conda-store-ui.html | 1 + 1 file changed, 1 insertion(+) diff --git a/conda-store-server/conda_store_server/_internal/server/templates/conda-store-ui.html b/conda-store-server/conda_store_server/_internal/server/templates/conda-store-ui.html index 4916fd52..2a05a49d 100644 --- a/conda-store-server/conda_store_server/_internal/server/templates/conda-store-ui.html +++ b/conda-store-server/conda_store_server/_internal/server/templates/conda-store-ui.html @@ -25,6 +25,7 @@ REACT_APP_API_URL: "{{ url_for('get_conda_store_ui') }}", REACT_APP_LOGIN_PAGE_URL: "{{ url_for('get_login_method') }}?next=", REACT_APP_LOGOUT_PAGE_URL: "{{ url_for('post_logout_method') }}?next=/", + REACT_APP_URL_BASENAME: new URL("{{ url_for('get_conda_store_ui') }}").pathname };