You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @bikevit2008! I'm here to help you with any bugs, questions, or contributions you have for the project. I'll assist you while we wait for a human maintainer.
The issue you're encountering with URL paths like abc.com/foo/bar/comfy not being valid in your self-hosted Dify setup might be related to the URL path validation logic or configuration settings.
In Dify, URL path validation logic is implemented in the api/tests/unit_tests/libs/test_yarl.py file. This logic ensures correct URL path concatenations and raises a ValueError for invalid paths [1].
For self-hosted Docker environments, you can configure URL handling using environment variables such as CONSOLE_API_URL, CONSOLE_WEB_URL, SERVICE_API_URL, APP_API_URL, APP_WEB_URL, and FILES_URL. These variables allow you to customize how URLs are handled and displayed [2][3].
You might want to check these configurations to ensure they are set correctly for your desired URL paths. If the issue persists, reviewing the URL path validation logic in the codebase might provide further insights.
Self Checks
Dify version
0.15.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
By default now we can use links like abc.com/ but abc.com/foo/bar/comfy is not valid
✔️ Expected Behavior
By default now we can use links like abc.com/ but abc.com/foo/bar/comfy is ok and valid
❌ Actual Behavior
By default now we can use links like abc.com/ but abc.com/foo/bar/comfy is not valid
The text was updated successfully, but these errors were encountered: