-
Notifications
You must be signed in to change notification settings - Fork 20.4k
Closed
Labels
💪 enhancementNew feature or requestNew feature or request
Description
Self Checks
- I have read the Contributing Guide and Language Policy.
- This is only for bug report, if you would like to ask a question, please head to Discussions.
- I have searched for existing issues search for existing issues, including closed ones.
- I confirm that I am using English to submit this report, otherwise it will be closed.
- 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- Please do not modify this template :) and fill in all the required fields.
Dify version
latest
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
- Configure CORS for FastOpenAPI console routes in
dify/api/extensions/ext_fastopenapi.py - The CORS resource pattern uses
r"/console/api/*"which is incorrect regex syntax - Flask-CORS fails to match subpaths like
/console/api/users/xxxor/console/api/settings/xxx
✔️ Expected Behavior
CORS should be properly configured for all routes under /console/api/ including all subpaths. The regex pattern should match paths like:
/console/api/users/console/api/settings/console/api/workspaces/123
❌ Actual Behavior
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💪 enhancementNew feature or requestNew feature or request