Rename RSS file and move into static folder

This commit is contained in:
glyph 2020-06-17 17:56:14 +01:00
parent 5ff94f5ea3
commit 5ffb1c0a70
2 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
channel.set_items(items);
// write the channel to file
let rss_file = File::create("rss.xml")?;
let rss_file = File::create("static/feed.rss")?;
channel.write_to(rss_file)?;
Ok(())