prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  [BUG]: FrontEnd routing issues
  ### Description
  
  The header in the application routes the application incorrectly and needs to be fixed. If it routes the anchor tag incorrectly, we'll be having a nested routes tree  of /page1/page2/...
  
  
  
  ### What should have happened?
  Its end output must be like this
  ```html
  <a class="dark-white-text menu-text" href="/howitworks">How CiviWiki Works</a>
  ```
  instead of 
  ```html
  <a class="dark-white-text menu-text" href="howitworks">How CiviWiki Works</a>
  ```
  
  ### What browser(s) are you seeing the problem on?
  All
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `project/frontend_views/urls.py`
  Content:
  ```
  1 from django.urls import path
  2 from frontend_views import views
  3 
  4 urlpatterns = [
  5     path("about/", views.about_view, name="about"),
  6     path("support_us/", views.support_us_view, name="support us"),
  7     path("howitworks/", views.how_it_works_view, name="how it works"),
  8     path("profile/<str:username>/", views.user_profile, name="profile"),
  9     path("thread/<int:thread_id>/", views.issue_thread, name="issue thread"),
  10     path("profile/", views.user_profile, name="default_profile"),
  11     path("", views.base_view, name="base"),
  12     path("thread/<int:thread_id>/csv/", views.civi2csv, name="civi2csv"),
  13 ]
  14
  ```
  --- 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/project/frontend_views/urls.py b/project/frontend_views/urls.py
  --- a/project/frontend_views/urls.py
  +++ b/project/frontend_views/urls.py
  @@ -3,10 +3,10 @@
   
   urlpatterns = [
       path("about/", views.about_view, name="about"),
  -    path("support_us/", views.support_us_view, name="support us"),
  -    path("howitworks/", views.how_it_works_view, name="how it works"),
  +    path("support_us/", views.support_us_view, name="support_us"),
  +    path("howitworks/", views.how_it_works_view, name="how_it_works"),
       path("profile/<str:username>/", views.user_profile, name="profile"),
  -    path("thread/<int:thread_id>/", views.issue_thread, name="issue thread"),
  +    path("thread/<int:thread_id>/", views.issue_thread, name="issue_thread"),
       path("profile/", views.user_profile, name="default_profile"),
       path("", views.base_view, name="base"),
       path("thread/<int:thread_id>/csv/", views.civi2csv, name="civi2csv"),
  
verification_info: {"golden_diff": "diff --git a/project/frontend_views/urls.py b/project/frontend_views/urls.py\n--- a/project/frontend_views/urls.py\n+++ b/project/frontend_views/urls.py\n@@ -3,10 +3,10 @@\n \n urlpatterns = [\n     path(\"about/\", views.about_view, name=\"about\"),\n-    path(\"support_us/\", views.support_us_view, name=\"support us\"),\n-    path(\"howitworks/\", views.how_it_works_view, name=\"how it works\"),\n+    path(\"support_us/\", views.support_us_view, name=\"support_us\"),\n+    path(\"howitworks/\", views.how_it_works_view, name=\"how_it_works\"),\n     path(\"profile/<str:username>/\", views.user_profile, name=\"profile\"),\n-    path(\"thread/<int:thread_id>/\", views.issue_thread, name=\"issue thread\"),\n+    path(\"thread/<int:thread_id>/\", views.issue_thread, name=\"issue_thread\"),\n     path(\"profile/\", views.user_profile, name=\"default_profile\"),\n     path(\"\", views.base_view, name=\"base\"),\n     path(\"thread/<int:thread_id>/csv/\", views.civi2csv, name=\"civi2csv\"),\n", "issue": "[BUG]: FrontEnd routing issues\n### Description\r\n\r\nThe header in the application routes the application incorrectly and needs to be fixed. If it routes the anchor tag incorrectly, we'll be having a nested routes tree  of /page1/page2/...\r\n\r\n\r\n\r\n### What should have happened?\r\nIts end output must be like this\r\n```html\r\n<a class=\"dark-white-text menu-text\" href=\"/howitworks\">How CiviWiki Works</a>\r\n```\r\ninstead of \r\n```html\r\n<a class=\"dark-white-text menu-text\" href=\"howitworks\">How CiviWiki Works</a>\r\n```\r\n\r\n### What browser(s) are you seeing the problem on?\r\nAll\r\n\n", "before_files": [{"content": "from django.urls import path\nfrom frontend_views import views\n\nurlpatterns = [\n    path(\"about/\", views.about_view, name=\"about\"),\n    path(\"support_us/\", views.support_us_view, name=\"support us\"),\n    path(\"howitworks/\", views.how_it_works_view, name=\"how it works\"),\n    path(\"profile/<str:username>/\", views.user_profile, name=\"profile\"),\n    path(\"thread/<int:thread_id>/\", views.issue_thread, name=\"issue thread\"),\n    path(\"profile/\", views.user_profile, name=\"default_profile\"),\n    path(\"\", views.base_view, name=\"base\"),\n    path(\"thread/<int:thread_id>/csv/\", views.civi2csv, name=\"civi2csv\"),\n]\n", "path": "project/frontend_views/urls.py"}], "after_files": [{"content": "from django.urls import path\nfrom frontend_views import views\n\nurlpatterns = [\n    path(\"about/\", views.about_view, name=\"about\"),\n    path(\"support_us/\", views.support_us_view, name=\"support_us\"),\n    path(\"howitworks/\", views.how_it_works_view, name=\"how_it_works\"),\n    path(\"profile/<str:username>/\", views.user_profile, name=\"profile\"),\n    path(\"thread/<int:thread_id>/\", views.issue_thread, name=\"issue_thread\"),\n    path(\"profile/\", views.user_profile, name=\"default_profile\"),\n    path(\"\", views.base_view, name=\"base\"),\n    path(\"thread/<int:thread_id>/csv/\", views.civi2csv, name=\"civi2csv\"),\n]\n", "path": "project/frontend_views/urls.py"}]}