|
|
@ -13,6 +13,8 @@ app.use(async (ctx) => {
|
|
|
|
const parsed_data = await xml2js.parseStringPromise(data);
|
|
|
|
const parsed_data = await xml2js.parseStringPromise(data);
|
|
|
|
parsed_data.rss.channel[0]["itunes:owner"][0]["itunes:email"] =
|
|
|
|
parsed_data.rss.channel[0]["itunes:owner"][0]["itunes:email"] =
|
|
|
|
"kontakt@midline.pl";
|
|
|
|
"kontakt@midline.pl";
|
|
|
|
|
|
|
|
parsed_data.rss.channel[0]["itunes:owner"][0]["itunes:name"] =
|
|
|
|
|
|
|
|
"Midline";
|
|
|
|
|
|
|
|
|
|
|
|
ctx.body = builder.buildObject(parsed_data);
|
|
|
|
ctx.body = builder.buildObject(parsed_data);
|
|
|
|
ctx.type = "application/rss+xml";
|
|
|
|
ctx.type = "application/rss+xml";
|
|
|
|