mikedilger / chorus

Chorus is a nostr relay
Other
40 stars 7 forks source link

Do not require `certchain...` stuff when not using TLS #16

Closed fiatjaf closed 3 months ago

fiatjaf commented 3 months ago

I get this error if I don't specify that:

Error: Error { inner: Config(Error { inner: Error { inner: TomlError { message: "missing field `certchain_pem_path`", original: Some("data_directory = \"./data\"\nport = 6405\nip_address = \"127.0.0.1\"\nhostname = \"chorus.fiatjaf.com\"\nuse_tls = false\nname = \"chorus_experimental\"\ndescription = \"hello world\"\ncontact = \"https://t.me/fiatjaf\"\npublic_key_hex = \"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d\"\nuser_hex_keys = [\n  \"17e7efb9a9ae241a489f2cde2d852c2601cb19a1729cf19ec4a0f03ac34ffabc\"\n]\nmax_subscriptions = 64\n"), keys: [], span: Some(0..396) } } }), location: Location { file: "chorus-bin/src/main.rs", line: 51, col: 43 } }
mikedilger commented 3 months ago

Fixed in dc4811c0ef53212f3175fb57d99b08e28858de86