rss: Output Content-Type header.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
tastytea 2020-07-14 17:46:50 +02:00
parent 463a8792f0
commit fc59fe72c9
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ int main(int argc, char *argv[])
{
git::clone();
const auto entries{files::read_json_files()};
cout << "Content-Type: application/rss+xml\r\n\r\n";
write_rss(cout, entries, {});
}
catch (const exception &e)