diff --git a/README.md b/README.md index ee6486e9..939f42de 100644 --- a/README.md +++ b/README.md @@ -95,8 +95,7 @@ You can also configure things like the address and port of the server: ```toml [general] -addr = "127.0.0.1" -port = 3000 +bind_address = "127.0.0.1:3000" # The endpoint and port on which to serve the service. ``` Then, you need to configure a crate index. diff --git a/docs/src/getting-started.md b/docs/src/getting-started.md index cc159cd2..fe0ea2de 100644 --- a/docs/src/getting-started.md +++ b/docs/src/getting-started.md @@ -67,8 +67,7 @@ You can also configure things like the address and port of the server: ```toml [general] -addr = "127.0.0.1" # Endpoint on which to serve the service. -port = 3000 # Port on which to serve the service. +bind_address = "127.0.0.1:3000" # The endpoint and port on which to serve the service. ``` Then, you need to configure a crate index.