Преглед на файлове

fix wrong domain for gallery backend (#5036)

Khaleel Al-Adhami преди 1 месец
родител
ревизия
c65f3a1d60
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      reflex/custom_components/custom_components.py

+ 1 - 2
reflex/custom_components/custom_components.py

@@ -826,7 +826,6 @@ def _collect_details_for_gallery():
     Raises:
         Exit: If pyproject.toml file is ill-formed or the request to the backend services fails.
     """
-    import reflex_cli.constants
     from reflex_cli.utils import hosting
 
     console.rule("[bold]Authentication with Reflex Services")
@@ -853,7 +852,7 @@ def _collect_details_for_gallery():
     params["package_name"] = package_name
 
     post_custom_components_gallery_endpoint = (
-        f"{reflex_cli.constants.Hosting.HOSTING_SERVICE}/custom-components/gallery"
+        "https://gallery-backend.reflex.dev/custom-components/gallery"
     )
 
     # Check the backend services if the user is allowed to update information of this package is already shared.