|
|
@ -12,7 +12,7 @@ app.use(async (ctx) => {
|
|
|
|
const builder = new xml2js.Builder();
|
|
|
|
const builder = new xml2js.Builder();
|
|
|
|
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@mildline.pl";
|
|
|
|
"kontakt@midline.pl";
|
|
|
|
|
|
|
|
|
|
|
|
ctx.body = builder.buildObject(parsed_data);
|
|
|
|
ctx.body = builder.buildObject(parsed_data);
|
|
|
|
ctx.type = "application/rss+xml";
|
|
|
|
ctx.type = "application/rss+xml";
|
|
|
|