mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 03:57:09 +00:00
Merge remote-tracking branch 'origin/master' into feature/tasks
This commit is contained in:
@@ -6,5 +6,5 @@ from api.v1.router import router as api_v1_router
|
||||
urlpatterns = [
|
||||
path("api/v1/", api_v1_router.urls),
|
||||
# Health endpoint
|
||||
path("health", MainView.as_view(), name="health_check_home"),
|
||||
path("api/health", MainView.as_view(), name="health_check_home"),
|
||||
]
|
||||
|
||||
@@ -14,7 +14,6 @@ router = NinjaAPI(
|
||||
version="1",
|
||||
description="API docs for DataRush",
|
||||
openapi_url="/docs/openapi.json",
|
||||
auth=BearerAuth(),
|
||||
)
|
||||
|
||||
|
||||
@@ -25,10 +24,12 @@ router.add_router(
|
||||
router.add_router(
|
||||
"",
|
||||
user_router,
|
||||
auth=BearerAuth(),
|
||||
)
|
||||
router.add_router(
|
||||
"",
|
||||
competition_router,
|
||||
auth=BearerAuth(),
|
||||
)
|
||||
router.add_router(
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user