doc: fix basic_auth_credentials format in config
`basic_auth_credentials` in `api` part of the config accepts a map, with username as key and password as value. License: MIT Signed-off-by: Sina Mahmoodi <itz.s1na@gmail.com>
This commit is contained in:
parent
a5710dd055
commit
2b02eac5c3
|
@ -108,9 +108,9 @@ Each section of the configuration file and the options in it depend on their ass
|
|||
"read_header_timeout": "5s",
|
||||
"write_timeout": "1m0s",
|
||||
"idle_timeout": "2m0s",
|
||||
"basic_auth_credentials": [ // Leave null for no-basic-auth
|
||||
"basic_auth_credentials": { // Leave null for no-basic-auth
|
||||
"user": "pass"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipfs_connector": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user