prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Add /check endpoint
  This endpoint should be used to check if the server is alive and ready to receive requests
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `src/config/urls.py`
  Content:
  ```
  1 from django.contrib import admin
  2 from django.urls import include, path
  3 
  4 urlpatterns = [
  5     path("api/v1/", include("safe_apps.urls", namespace="v1")),
  6     path("admin/", admin.site.urls),
  7 ]
  8
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/src/config/urls.py b/src/config/urls.py
  --- a/src/config/urls.py
  +++ b/src/config/urls.py
  @@ -1,7 +1,9 @@
   from django.contrib import admin
  +from django.http import HttpResponse
   from django.urls import include, path
   
   urlpatterns = [
       path("api/v1/", include("safe_apps.urls", namespace="v1")),
       path("admin/", admin.site.urls),
  +    path("check/", lambda request: HttpResponse("Ok"), name="check"),
   ]
  
verification_info: {"golden_diff": "diff --git a/src/config/urls.py b/src/config/urls.py\n--- a/src/config/urls.py\n+++ b/src/config/urls.py\n@@ -1,7 +1,9 @@\n from django.contrib import admin\n+from django.http import HttpResponse\n from django.urls import include, path\n \n urlpatterns = [\n     path(\"api/v1/\", include(\"safe_apps.urls\", namespace=\"v1\")),\n     path(\"admin/\", admin.site.urls),\n+    path(\"check/\", lambda request: HttpResponse(\"Ok\"), name=\"check\"),\n ]\n", "issue": "Add /check endpoint\nThis endpoint should be used to check if the server is alive and ready to receive requests\n", "before_files": [{"content": "from django.contrib import admin\nfrom django.urls import include, path\n\nurlpatterns = [\n    path(\"api/v1/\", include(\"safe_apps.urls\", namespace=\"v1\")),\n    path(\"admin/\", admin.site.urls),\n]\n", "path": "src/config/urls.py"}], "after_files": [{"content": "from django.contrib import admin\nfrom django.http import HttpResponse\nfrom django.urls import include, path\n\nurlpatterns = [\n    path(\"api/v1/\", include(\"safe_apps.urls\", namespace=\"v1\")),\n    path(\"admin/\", admin.site.urls),\n    path(\"check/\", lambda request: HttpResponse(\"Ok\"), name=\"check\"),\n]\n", "path": "src/config/urls.py"}]}