Fix routing to support /crm prefix on EC2 reverse proxy

This commit is contained in:
vickytechkey 2026-08-15 19:43:30 +05:30
parent d83a3ab0eb
commit 90ef6061e2

View file

@ -11,4 +11,5 @@ urlpatterns = [
path('crm', home_view, name='home_crm_no_slash'),
path('admin/', admin.site.urls),
path('api/crm/', include('crm.urls')),
path('crm/api/crm/', include('crm.urls')), # Matches proxy prefixed requests
]