mirror of
https://github.com/langgenius/dify.git
synced 2026-04-21 03:07:39 +08:00
Replace raw license status strings with LicenseStatus enum values in
app_factory.py and enterprise_service.py to prevent silent mismatches.
Use trailing-slash prefixes ('/console/api/', '/api/') to avoid false
matches on unrelated paths like /api-docs.