1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Fix homeserver config docs

This commit is contained in:
Will Hunt
2023-04-19 12:44:53 +01:00
committed by Quentin Gliech
parent 18a74f6e7e
commit d285e5ac97

View File

@ -36,7 +36,7 @@ fn default_endpoint() -> Url {
#[serde_as] #[serde_as]
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
pub struct MatrixConfig { pub struct MatrixConfig {
/// Time-to-live of a CSRF token in seconds /// The server name of the homeserver.
#[serde(default = "default_homeserver")] #[serde(default = "default_homeserver")]
pub homeserver: String, pub homeserver: String,