delete cosmos

This commit is contained in:
Michel Roegl-Brunner 2025-03-18 14:26:29 +01:00
parent 81c4869530
commit 972cdf5fc8
3 changed files with 2 additions and 39 deletions

View File

@ -1 +0,0 @@

View File

@ -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": []
}

View File

@ -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 };
});