Added CurseForge edge proxy

Co-authored-by: felix-fx-top <253056634+felix-fx-top@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-03-31 10:37:06 +00:00 committed by lovable
parent 01c848ea66
commit 2340134a75

View File

@ -32,7 +32,8 @@ const typeLabels: Record<string, string> = {
plugin: "إضافة سيرفر",
};
const ModCard = ({ id, slug, title, description, iconUrl, downloads, followers, categories, projectType, viewMode = "grid" }: ModCardProps) => {
const ModCard = ({ id, slug, title, description, iconUrl, downloads, followers, categories, projectType, viewMode = "grid", source = "modrinth" }: ModCardProps) => {
const linkPath = source === "curseforge" ? `/curseforge/${id}` : `/mod/${slug || id}`;
if (viewMode === "list") {
return (
<Link to={`/mod/${slug || id}`}>