mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update index.tsx
This commit is contained in:
@@ -49,7 +49,7 @@ const Install: React.FC = () => {
|
||||
const generateInstallCommand = () => {
|
||||
let command = "bash <(curl -sSL https://openpanel.org)";
|
||||
for (const [option, config] of Object.entries(installOptions)) {
|
||||
if (option !== "version" || (option === "version" && config.value !== latestVersion)) {
|
||||
if (option !== "version") {
|
||||
if (config.value || ["version", "hostname", "email", "screenshots", "docker-space", "post-install"].includes(option)) {
|
||||
if (option === "screenshots" && config.value === "local") {
|
||||
command += ` --screenshots=local`;
|
||||
|
||||
Reference in New Issue
Block a user