Add rss feed with latest 10 artworks
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
import { prisma } from "@/lib/prisma";
|
import { prisma } from "@/lib/prisma";
|
||||||
|
|
||||||
const BASE_URL = `${process.env.BASE_URL}`
|
const BASE_URL = `${process.env.FEED_URL}`
|
||||||
|
|
||||||
function escapeXml(value: string): string {
|
function escapeXml(value: string): string {
|
||||||
return value
|
return value
|
||||||
|
|||||||
@ -55,7 +55,7 @@ const SOCIALS: Record<
|
|||||||
rss: {
|
rss: {
|
||||||
label: "RSS",
|
label: "RSS",
|
||||||
icon: siRss,
|
icon: siRss,
|
||||||
href: "/rss.xml",
|
href: `/rss.xml`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user