Skip to content

Commit 28f8423

Browse files
authored
fix(docs): module name (#1341)
1 parent 3185a23 commit 28f8423

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/http_server.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Flags of interest:
4040
You can also start the server programmatically via the API.
4141

4242
```python
43-
from cocoindex import start_server, settings
43+
from cocoindex import start_server, ServerSettings
4444

45-
server_settings = settings.ServerSettings(
45+
server_settings = ServerSettings(
4646
# Default: "127.0.0.1:49344" — local only for safety
4747
address="127.0.0.1:49344",
4848
# Allow CocoInsight front-end
@@ -55,7 +55,7 @@ start_server(server_settings)
5555
To expose to all IPs:
5656

5757
```python
58-
server_settings = settings.ServerSettings(
58+
server_settings = ServerSettings(
5959
address="0.0.0.0:49344",
6060
)
6161
start_server(server_settings)

0 commit comments

Comments
 (0)