code: def test_cors_with_default_frontends_uri(client):
      """Tests CORS with default frontends_uri"""
  
      # No origin (e.g. from a browser), should pass
      response = client.simulate_get("/")
      assert response.status == "200 OK"
  
      # Default origin, should pass
      response = client.simulate_get(
          "/", headers={"Origin": "http://localhost:3000"}
      )
      assert response.status == "200 OK"
  
      # Any other origin should fail (even with same host but different port)
  
      response = client.simulate_get(
          "/", headers={"Origin": "http://localhost:4000"}
      )
      assert response.status == "403 Forbidden"
  
      response = client.simulate_get(
          "/", headers={"Origin": "http://localhost"}
      )
      assert response.status == "403 Forbidden"
  
      response = client.simulate_get(
          "/", headers={"Origin": "http://google.com"}
      )
      assert response.status == "403 Forbidden"
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_cors_with_default_frontends_uri(client) without return types