diff --git a/Cargo.lock b/Cargo.lock index 9a98f2a5..4b020ed8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -487,7 +487,7 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" [[package]] name = "conduit" -version = "0.9.0" +version = "0.10.0-alpha" dependencies = [ "async-trait", "axum 0.7.5", diff --git a/Cargo.toml b/Cargo.toml index fba2f59a..0cdde4ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ license = "Apache-2.0" name = "conduit" readme = "README.md" repository = "https://gitlab.com/famedly/conduit" -version = "0.9.0" +version = "0.10.0-alpha" # See also `rust-toolchain.toml` rust-version = "1.79.0" diff --git a/docs/configuration.md b/docs/configuration.md index 2239ac5d..b2b4f3a4 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -58,7 +58,8 @@ The `global` section contains the following fields: | `turn_secret` | `string` | The TURN secret | `""` | | `turn_ttl` | `integer` | The TURN TTL in seconds | `86400` | | `emergency_password` | `string` | Set a password to login as the `conduit` user in case of emergency | N/A | -| `well_known` | `table` | Used for [delegation](delegation.md) | See [delegation](delegation.md) | +| `well_known_client` | `string` | Used for [delegation](delegation.md) | See [delegation](delegation.md) | +| `well_known_server` | `string` | Used for [delegation](delegation.md) | See [delegation](delegation.md) | ### TLS diff --git a/docs/delegation.md b/docs/delegation.md index c8e5391c..28d962f7 100644 --- a/docs/delegation.md +++ b/docs/delegation.md @@ -16,18 +16,18 @@ are connected to the server running Conduit using something like a VPN. > **Note**: this will automatically allow you to use [sliding sync][0] without any extra configuration -To configure it, use the following options in the `global.well_known` table: +To configure it, use the following options: | Field | Type | Description | Default | | --- | --- | --- | --- | -| `client` | `String` | The URL that clients should use to connect to Conduit | `https://` | -| `server` | `String` | The hostname and port servers should use to connect to Conduit | `:443` | +| `well_known_client` | `String` | The URL that clients should use to connect to Conduit | `https://` | +| `well_known_server` | `String` | The hostname and port servers should use to connect to Conduit | `:443` | ### Example ```toml -[global.well_known] -client = "https://matrix.example.org" -server = "matrix.example.org:443" +[global] +well_known_client = "https://matrix.example.org" +well_known_server = "matrix.example.org:443" ``` ## Manual