crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit e397382cb5771217c37428a38e4fd305a7ce4544
parent 466de8788c09a10c418eb7bb6b2e7aba0115a8e8
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon,  3 Jan 2022 20:48:34 -0800

fix atom urls

Diffstat:
Msrc/main.rs | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -214,7 +214,12 @@ impl<'a> MailThread<'a> { } fn url(&self) -> String { - format!("{}/threads/{}.html", Config::global().base_url, self.hash) + format!( + "{}/{}/threads/{}.html", + Config::global().base_url, + self.list_name, + self.hash + ) } fn write_atom_feed(&self) -> Result<()> {