From 4ff59d54a29157945a2b8b2fe6e37cefbd31d3d1 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 3 Feb 2025 07:33:03 +0100 Subject: [PATCH] Update index.tsx --- website/src/pages/install/index.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/src/pages/install/index.tsx b/website/src/pages/install/index.tsx index 8d80aae6..4fab323a 100644 --- a/website/src/pages/install/index.tsx +++ b/website/src/pages/install/index.tsx @@ -14,12 +14,11 @@ interface InstallOption { type InstallOptions = Record; const defaultOptions: InstallOptions = { - hostname: { value: "", description: "Set the FQDN hostname." }, + domain: { value: "", description: "Set the domain to be used for accessing panels." }, version: { value: "", description: "Set a custom OpenPanel version to be installed." }, email: { value: "", description: "Email address to receive admin logins and future notifications." }, username: { value: "", description: "Set admin username (by default random generated)." }, password: { value: "", description: "Set admin password (by default random generated)." }, - "docker-space": { value: "", description: "Specify the size in GB to allocate to Docker." }, "skip-requirements": { value: false, description: "Skip the requirements check." }, "skip-panel-check": { value: false, description: "Skip checking if existing panels are installed." }, "skip-apt-update": { value: false, description: "Skip the APT update." }, @@ -40,7 +39,7 @@ const Install: React.FC = () => { const [latestVersion, setLatestVersion] = useState(""); useEffect(() => { - fetch("https://get.openpanel.co/version") + fetch("https://raw.githubusercontent.com/stefanpejcic/OpenPanel/refs/heads/main/version/latest") .then(response => response.text()) .then(data => { const version = data.trim(); @@ -84,7 +83,7 @@ const Install: React.FC = () => { return ( - +