mirror of
https://github.com/jellyfin/jellyfin.org.git
synced 2026-09-03 05:20:06 +03:00
16 lines
368 B
JavaScript
16 lines
368 B
JavaScript
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
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');
|
|
}
|
|
}
|
|
);
|