diff --git a/port_ocean/ocean.py b/port_ocean/ocean.py index c9bcbc5ef1..dd6bba1126 100644 --- a/port_ocean/ocean.py +++ b/port_ocean/ocean.py @@ -59,8 +59,11 @@ async def handle_webhook_request(data: dict[str, Any]) -> dict[str, Any]: return JSONResponse({"ok": True}) self.starlette_app = Starlette( - routes=[Route("/integration/webhook", endpoint=handle_webhook_request)], - middleware=[Middleware(RequestHandlerMiddleware)], + routes=[ + Route("/docs", endpoint=handle_webhook_request), + Route("/integration/webhook", endpoint=handle_webhook_request), + ], + # middleware=[Middleware(RequestHandlerMiddleware)], lifespan=lifespan, ) diff --git a/pyproject.toml b/pyproject.toml index 0329e3fd82..5340f0d24c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "port-ocean" -version = "0.12.2-dev20" +version = "0.12.2-dev21" description = "Port Ocean is a CLI tool for managing your Port projects." readme = "README.md" homepage = "https://app.getport.io"