prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  [Frontend V2] Fix the media assets endpoint
  ### Description
  
  We recently moved to `https://evalai.s3.amazonaws.com/` endpoint for our media assets. Frontend v2 is still using `https://staging-evalai.s3.amazonaws.com/` endpoint. We should switch to new enpdoint in frontend v2.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `settings/staging.py`
  Content:
  ```
  1 from .prod import *  # noqa: ignore=F405
  2 
  3 ALLOWED_HOSTS = ["staging.eval.ai"]
  4 
  5 CORS_ORIGIN_ALLOW_ALL = False
  6 
  7 CORS_ORIGIN_WHITELIST = (
  8     "https://staging-evalai.s3.amazonaws.com",
  9     "https://staging.eval.ai",
  10     "https://beta-staging.eval.ai",
  11 )
  12
  ```
  --- 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/settings/staging.py b/settings/staging.py
  --- a/settings/staging.py
  +++ b/settings/staging.py
  @@ -5,6 +5,7 @@
   CORS_ORIGIN_ALLOW_ALL = False
   
   CORS_ORIGIN_WHITELIST = (
  +    "https://evalai.s3.amazonaws.com",
       "https://staging-evalai.s3.amazonaws.com",
       "https://staging.eval.ai",
       "https://beta-staging.eval.ai",
  
verification_info: {"golden_diff": "diff --git a/settings/staging.py b/settings/staging.py\n--- a/settings/staging.py\n+++ b/settings/staging.py\n@@ -5,6 +5,7 @@\n CORS_ORIGIN_ALLOW_ALL = False\n \n CORS_ORIGIN_WHITELIST = (\n+    \"https://evalai.s3.amazonaws.com\",\n     \"https://staging-evalai.s3.amazonaws.com\",\n     \"https://staging.eval.ai\",\n     \"https://beta-staging.eval.ai\",\n", "issue": "[Frontend V2] Fix the media assets endpoint\n### Description\r\n\r\nWe recently moved to `https://evalai.s3.amazonaws.com/` endpoint for our media assets. Frontend v2 is still using `https://staging-evalai.s3.amazonaws.com/` endpoint. We should switch to new enpdoint in frontend v2.\n", "before_files": [{"content": "from .prod import *  # noqa: ignore=F405\n\nALLOWED_HOSTS = [\"staging.eval.ai\"]\n\nCORS_ORIGIN_ALLOW_ALL = False\n\nCORS_ORIGIN_WHITELIST = (\n    \"https://staging-evalai.s3.amazonaws.com\",\n    \"https://staging.eval.ai\",\n    \"https://beta-staging.eval.ai\",\n)\n", "path": "settings/staging.py"}], "after_files": [{"content": "from .prod import *  # noqa: ignore=F405\n\nALLOWED_HOSTS = [\"staging.eval.ai\"]\n\nCORS_ORIGIN_ALLOW_ALL = False\n\nCORS_ORIGIN_WHITELIST = (\n    \"https://evalai.s3.amazonaws.com\",\n    \"https://staging-evalai.s3.amazonaws.com\",\n    \"https://staging.eval.ai\",\n    \"https://beta-staging.eval.ai\",\n)\n", "path": "settings/staging.py"}]}