Rename RSS file and move into static folder
This commit is contained in:
parent
5ff94f5ea3
commit
5ffb1c0a70
@ -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(())
|
||||
|
Loading…
Reference in New Issue
Block a user