Skip to content

Commit fdbd501

Browse files
authored
Merge pull request #6309 from lidel/patch-2
docs: fix Routing section
2 parents bfd4ec5 + 4c6268e commit fdbd501

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/config.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Available profiles:
6363
- [`Bootstrap`](#bootstrap)
6464
- [`Datastore`](#datastore)
6565
- [`Discovery`](#discovery)
66+
- [`Routing`](#routing)
6667
- [`Gateway`](#gateway)
6768
- [`Identity`](#identity)
6869
- [`Ipns`](#ipns)
@@ -214,12 +215,27 @@ Default: `true`
214215
- `Interval`
215216
A number of seconds to wait between discovery checks.
216217

217-
- `Routing`
218+
219+
## `Routing`
220+
Contains options for content routing mechanisms.
221+
222+
- `Type`
218223
Content routing mode. Can be overridden with daemon `--routing` flag.
219224
Valid modes are:
220225
- `dht` (default)
221226
- `dhtclient`
222227
- `none`
228+
229+
**Example:**
230+
231+
```json
232+
{
233+
"Routing": {
234+
"Type": "dhtclient"
235+
}
236+
}
237+
```
238+
223239

224240
## `Gateway`
225241
Options for the HTTP gateway.

0 commit comments

Comments
 (0)