diff --git a/ct/cosmos.sh b/ct/cosmos.sh deleted file mode 100644 index 8b13789..0000000 --- a/ct/cosmos.sh +++ /dev/null @@ -1 +0,0 @@ - diff --git a/frontend/public/json/cosmos.json b/frontend/public/json/cosmos.json deleted file mode 100644 index d29cdef..0000000 --- a/frontend/public/json/cosmos.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "Cosmos", - "slug": "cosmos", - "categories": [ - 2, - 3 - ], - "date_created": "2025-02-07", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 80, - "documentation": "https://cosmos-cloud.io/doc/1%20index/", - "website": "https://cosmos-cloud.io/", - "logo": "https://cosmos-cloud.io/Logo.png", - "description": "Cosmos Cloud is a self-hosting platform that automates maintenance and security. It offers an app marketplace, reverse proxy management, container control, VPN integration, real-time monitoring, and disk management. Security features include SSO, anti-DDoS, and encryption. It simplifies self-hosting for all users.", - "install_methods": [ - { - "type": "default", - "script": "ct/cosmos.sh", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 8, - "os": "debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [] -} diff --git a/frontend/src/app/api/versions/route.ts b/frontend/src/app/api/versions/route.ts index 6adfd7f..db89160 100644 --- a/frontend/src/app/api/versions/route.ts +++ b/frontend/src/app/api/versions/route.ts @@ -17,9 +17,8 @@ const getVersions = async () => { const versions: AppVersion[] = JSON.parse(fileContent); const modifiedVersions = versions.map(version => { - const nameParts = version.name.split('/'); - let newName = nameParts[nameParts.length - 1]; - newName = newName.toLowerCase().replace(/[^a-z0-9]/g, ''); + let newName = version.name; + newName = newName.toLowerCase().replace(/[^a-z0-9/]/g, ''); return { ...version, name: newName }; });