Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

feat: change api/v1/plugins/download to api/v1/plugins/download-url (#39811)

wangxiaolei69a16d83198e
diff --git a/api/core/helper/marketplace.py b/api/core/helper/marketplace.py
index e6e1d565769..e14c7185858 100644
--- a/api/core/helper/marketplace.py
+++ b/api/core/helper/marketplace.py
@@ -19,7 +19,7 @@ MARKETPLACE_TIMEOUT = 30
def get_plugin_pkg_url(plugin_unique_identifier: str) -> str:
query = urlencode({"unique_identifier": plugin_unique_identifier})
- return f"{marketplace_api_url / 'api/v1/plugins/download'}?{query}"
+ return f"{marketplace_api_url / 'api/v1/plugins/download-url'}?{query}"
def download_plugin_pkg(plugin_unique_identifier: str) -> bytes: