mirror of
https://github.com/langgenius/dify.git
synced 2026-03-29 01:49:57 +08:00
Unify plugin endpoint configuration for api and worker: An alternative solution to PR #13214 (#13239)
This commit is contained in:
@ -65,7 +65,7 @@ def enterprise_inner_api_user_auth(view):
|
||||
def plugin_inner_api_only(view):
|
||||
@wraps(view)
|
||||
def decorated(*args, **kwargs):
|
||||
if not dify_config.PLUGIN_API_KEY:
|
||||
if not dify_config.PLUGIN_DAEMON_KEY:
|
||||
abort(404)
|
||||
|
||||
# get header 'X-Inner-Api-Key'
|
||||
|
||||
Reference in New Issue
Block a user