Added CurseForge edge proxy
Co-authored-by: felix-fx-top <253056634+felix-fx-top@users.noreply.github.com>
This commit is contained in:
parent
01c848ea66
commit
2340134a75
@ -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}`}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user