forked from forkanization/Proxmox-arm64
Update install-command.tsx
This commit is contained in:
@@ -10,8 +10,8 @@ import { getDisplayValueFromType } from "../script-info-blocks";
|
|||||||
|
|
||||||
function getInstallCommand(scriptPath = "", isAlpine = false, useGitea = false) {
|
function getInstallCommand(scriptPath = "", isAlpine = false, useGitea = false) {
|
||||||
const githubUrl = `https://raw.githubusercontent.com/asylumexp/Proxmox/main/${scriptPath}`;
|
const githubUrl = `https://raw.githubusercontent.com/asylumexp/Proxmox/main/${scriptPath}`;
|
||||||
const giteaUrl = `https://git.community-scripts.org/asylumexp/Proxmox/raw/branch/main/${scriptPath}`;
|
// const giteaUrl = `https://git.community-scripts.org/asylumexp/Proxmox/raw/branch/main/${scriptPath}`;
|
||||||
const url = useGitea ? giteaUrl : githubUrl;
|
const url = useGitea ? githubUrl : githubUrl;
|
||||||
return isAlpine ? `bash -c "$(curl -fsSL ${url})"` : `bash -c "$(curl -fsSL ${url})"`;
|
return isAlpine ? `bash -c "$(curl -fsSL ${url})"` : `bash -c "$(curl -fsSL ${url})"`;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,9 +91,8 @@ export default function InstallCommand({ item }: { item: Script }) {
|
|||||||
<AlertDescription className="text-sm">
|
<AlertDescription className="text-sm">
|
||||||
<strong>When to use Gitea:</strong>
|
<strong>When to use Gitea:</strong>
|
||||||
{" "}
|
{" "}
|
||||||
GitHub may have issues including slow connections, delayed updates after bug
|
Gitea is not supported, as this is a mirror specifically of the upstream repo.
|
||||||
fixes, no IPv6 support, API rate limits (60/hour). Use our Gitea mirror as a reliable alternative when
|
I have left the option here in case this changes in the future.
|
||||||
experiencing these issues.
|
|
||||||
</AlertDescription>
|
</AlertDescription>
|
||||||
</Alert>
|
</Alert>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user