We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ccd31a commit 474dd4aCopy full SHA for 474dd4a
samples/agent/adk/contact_lookup/__main__.py
@@ -89,7 +89,7 @@ def main(host, port):
89
90
app.add_middleware(
91
CORSMiddleware,
92
- allow_origins=["http://localhost:5173"],
+ allow_origin_regex=r"http://localhost:\d+",
93
allow_credentials=True,
94
allow_methods=["*"],
95
allow_headers=["*"],
samples/agent/adk/restaurant_finder/__main__.py
0 commit comments