asd
This commit is contained in:
parent
1c1b61c4a8
commit
6bc445f249
@ -520,7 +520,7 @@ app.mount("/dashboard/api", dashboard_api_app) # Mount the new dashboard API
|
|||||||
|
|
||||||
# Import and mount webhook endpoints
|
# Import and mount webhook endpoints
|
||||||
try:
|
try:
|
||||||
from .webhook_endpoints import router as webhook_router # Relative import
|
from webhook_endpoints import router as webhook_router # Relative import
|
||||||
app.mount("/webhook", webhook_router) # Mount directly on the main app for simplicity
|
app.mount("/webhook", webhook_router) # Mount directly on the main app for simplicity
|
||||||
# Or, if you prefer to nest it under /api:
|
# Or, if you prefer to nest it under /api:
|
||||||
# api_app.include_router(webhook_router, prefix="/webhooks", tags=["Webhooks"])
|
# api_app.include_router(webhook_router, prefix="/webhooks", tags=["Webhooks"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user