Support optional URL prefix for hook URL

This commit is contained in:
2023-09-15 23:39:47 -07:00
parent 3a2da3fba8
commit bddff51ab3
2 changed files with 15 additions and 2 deletions

View File

@ -16,6 +16,7 @@ pub struct RepoConfig {
pub struct Config {
pub bind_address: Option<String>,
pub bind_port: Option<u16>,
pub url_prefix: Option<String>,
#[serde(deserialize_with = "deser_user_id")]
pub user_id: OwnedUserId,
pub password: String,