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 3185a23 commit 28f8423Copy full SHA for 28f8423
docs/docs/http_server.mdx
@@ -40,9 +40,9 @@ Flags of interest:
40
You can also start the server programmatically via the API.
41
42
```python
43
-from cocoindex import start_server, settings
+from cocoindex import start_server, ServerSettings
44
45
-server_settings = settings.ServerSettings(
+server_settings = ServerSettings(
46
# Default: "127.0.0.1:49344" — local only for safety
47
address="127.0.0.1:49344",
48
# Allow CocoInsight front-end
@@ -55,7 +55,7 @@ start_server(server_settings)
55
To expose to all IPs:
56
57
58
59
address="0.0.0.0:49344",
60
)
61
start_server(server_settings)
0 commit comments