import { generateFeed } from '@utils/helpers/rss'; import { GetServerSideProps } from 'next'; const Feed = () => null; export const getServerSideProps: GetServerSideProps = async ({ res }) => { const feed = await generateFeed(); if (res) { res.setHeader('Content-Type', 'application/json'); res.write(`${feed.json1()}`); res.end(); } return { props: {}, }; }; export default Feed; armandphilippot.com' title='www.armandphilippot.com Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/public/prism/prism-cil.min.js
blob: 7cd74fa6e041aa63fb31e0e4c540a0b80cbbe66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20