delete cosmos
This commit is contained in:
parent
81c4869530
commit
972cdf5fc8
@ -1 +0,0 @@
|
|||||||
|
|
@ -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": []
|
|
||||||
}
|
|
@ -17,9 +17,8 @@ const getVersions = async () => {
|
|||||||
const versions: AppVersion[] = JSON.parse(fileContent);
|
const versions: AppVersion[] = JSON.parse(fileContent);
|
||||||
|
|
||||||
const modifiedVersions = versions.map(version => {
|
const modifiedVersions = versions.map(version => {
|
||||||
const nameParts = version.name.split('/');
|
let newName = version.name;
|
||||||
let newName = nameParts[nameParts.length - 1];
|
newName = newName.toLowerCase().replace(/[^a-z0-9/]/g, '');
|
||||||
newName = newName.toLowerCase().replace(/[^a-z0-9]/g, '');
|
|
||||||
return { ...version, name: newName };
|
return { ...version, name: newName };
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user