Skip to content

Commit

Permalink
Merge pull request #154 from Hirevo/docs/legacy-config
Browse files Browse the repository at this point in the history
Fixed legacy configuration in examples
  • Loading branch information
Hirevo authored May 20, 2023
2 parents 63e0c67 + 56801e6 commit 4559310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 1 addition & 2 deletions docs/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4559310

Please sign in to comment.