add support for serving client+server well-known and /client/server.json
endpoints from conduwuit
the last endpoint is a non-standard health check endpoint used by at least Element Web as a weird way to determine if syncv3 is available there can also be some valid use-cases for serving well-knowns from the application itself Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
bb2f213ac3
commit
8586b15e1a
5 changed files with 49 additions and 17 deletions
|
@ -509,6 +509,10 @@ impl Service<'_> {
|
|||
&self.config.well_known_client
|
||||
}
|
||||
|
||||
pub fn well_known_server(&self) -> &Option<String> {
|
||||
&self.config.well_known_server
|
||||
}
|
||||
|
||||
pub fn unix_socket_path(&self) -> &Option<PathBuf> {
|
||||
&self.config.unix_socket_path
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue