diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-27 22:44:47 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-27 22:48:44 +0100 |
commit | 6788225f0f7be8f35dbcc0fcd498698c49f94326 (patch) | |
tree | 9630d55eb0efe9f97127c6b6ff007fc0dfd43035 /pkgs/by-name/ba/back/src/config/mod.rs | |
parent | feat(back): add rss feed (diff) | |
download | nixos-server-6788225f0f7be8f35dbcc0fcd498698c49f94326.zip |
fix(back): add correct links to rss feed
Co-authored-by: Silas Schöffel <sils@sils.li>
Diffstat (limited to 'pkgs/by-name/ba/back/src/config/mod.rs')
-rw-r--r-- | pkgs/by-name/ba/back/src/config/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/by-name/ba/back/src/config/mod.rs b/pkgs/by-name/ba/back/src/config/mod.rs index a680b90..7351ad8 100644 --- a/pkgs/by-name/ba/back/src/config/mod.rs +++ b/pkgs/by-name/ba/back/src/config/mod.rs @@ -25,12 +25,14 @@ pub struct BackConfig { // `<tags>` of all kinds _should_ be invalid. <2024-12-26> pub source_code_repository_url: Url, pub repository: ThreadSafeRepository, + pub root: Url, } #[derive(Deserialize)] struct RawBackConfig { source_code_repository_url: Url, repository_path: PathBuf, + root_url: Url, } impl BackConfig { @@ -64,6 +66,7 @@ impl TryFrom<RawBackConfig> for BackConfig { Ok(Self { repository, source_code_repository_url: value.source_code_repository_url, + root: value.root_url, }) } } |