mirror of
https://github.com/jellyfin/jellyfin.org.git
synced 2025-03-03 11:07:46 +00:00
15 lines
309 B
JavaScript
15 lines
309 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
fs.copyFile(
|
|
path.resolve(__dirname, '../build/posts/rss.xml'),
|
|
path.resolve(__dirname, '../build/index.xml'),
|
|
(error) => {
|
|
if (error) {
|
|
throw error;
|
|
} else {
|
|
console.log('RSS feed has been copied to index.xml');
|
|
}
|
|
}
|
|
);
|