fix: feed link for custom domain

This commit is contained in:
DIYgod 2023-07-19 19:58:59 +01:00
parent cd719dd25a
commit b8c321f823
No known key found for this signature in database
1 changed files with 1 additions and 4 deletions

View File

@ -11,7 +11,6 @@ import { Image } from "~/components/ui/Image"
import { Modal } from "~/components/ui/Modal"
import { Tooltip } from "~/components/ui/Tooltip"
import { CSB_SCAN, CSB_XCHAR, CSB_XFEED } from "~/lib/env"
import { getSiteLink } from "~/lib/helpers"
import { useTranslation } from "~/lib/i18n/client"
import { Button } from "../ui/Button"
@ -95,9 +94,7 @@ export const SiteHeaderMenu = ({
{
text: "Subscribe to RSS",
icon: <RssIcon className="w-full h-full text-[#ee832f]" />,
url: `${getSiteLink({
subdomain: handle || "",
})}/feed`,
url: "/feed",
out: true,
},
...(hideSearch