To run a detached integrations server: 1. Set env var `DETACHED_INTEGRATIONS_SERVER=True` 2. Run engine with the `integrations_urls.py` root url conf (e.g. `ROOT_URLCONF=engine.integrations_urls python manage.py runserver 0.0.0.0:8081`)
9 lines
342 B
Python
9 lines
342 B
Python
from django.urls import URLPattern, URLResolver, include, path
|
|
|
|
from .urls import paths_to_work_even_when_maintenance_mode_is_active
|
|
|
|
urlpatterns: list[URLPattern | URLResolver] = paths_to_work_even_when_maintenance_mode_is_active
|
|
|
|
urlpatterns += [
|
|
path("integrations/v1/", include("apps.integrations.urls", namespace="integrations")),
|
|
]
|