mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 08:25:09 +00:00
fix: some formatting
This commit is contained in:
@@ -498,6 +498,7 @@ EOF
|
|||||||
echo -e "${BLUE}→ Using domain:${NC} $CONFIG_DOMAIN_NAME"
|
echo -e "${BLUE}→ Using domain:${NC} $CONFIG_DOMAIN_NAME"
|
||||||
|
|
||||||
if is_valid_domain "$CONFIG_DOMAIN_NAME"; then
|
if is_valid_domain "$CONFIG_DOMAIN_NAME"; then
|
||||||
|
print_empty_line
|
||||||
echo -e "${GREEN}✓ Valid domain detected${NC}"
|
echo -e "${GREEN}✓ Valid domain detected${NC}"
|
||||||
print_empty_line
|
print_empty_line
|
||||||
CONFIG_SSL_ENABLED=$(prompt_oneof "Do you want to configure SSL for $CONFIG_DOMAIN_NAME" "Y" "N")
|
CONFIG_SSL_ENABLED=$(prompt_oneof "Do you want to configure SSL for $CONFIG_DOMAIN_NAME" "Y" "N")
|
||||||
@@ -508,6 +509,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
print_empty_line
|
print_empty_line
|
||||||
else
|
else
|
||||||
|
print_empty_line
|
||||||
echo -e "${YELLOW}! Using IP address - SSL will not be enabled${NC}"
|
echo -e "${YELLOW}! Using IP address - SSL will not be enabled${NC}"
|
||||||
print_empty_line
|
print_empty_line
|
||||||
CONFIG_SSL_ENABLED="N"
|
CONFIG_SSL_ENABLED="N"
|
||||||
@@ -523,9 +525,10 @@ EOF
|
|||||||
echo -e "${BLUE}→ Setting up MinIO storage configuration${NC}"
|
echo -e "${BLUE}→ Setting up MinIO storage configuration${NC}"
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
print_empty_line
|
||||||
CONFIG_MINIO_DOMAIN_NAME=$(prompt "Enter the MinIO domain name" "$(get_public_ip)")
|
CONFIG_MINIO_DOMAIN_NAME=$(prompt "Enter the MinIO domain name" "$(get_public_ip)")
|
||||||
|
|
||||||
if [ "$CONFIG_MINIO_DOMAIN_NAME" = "$CONFIG_DOMAIN_NAME" ]; then
|
if [ "$CONFIG_MINIO_DOMAIN_NAME" = "$CONFIG_DOMAIN_NAME" ] && is_valid_domain "$CONFIG_DOMAIN_NAME"; then
|
||||||
print_empty_line
|
print_empty_line
|
||||||
cat << EOF
|
cat << EOF
|
||||||
⚠️ WARNING: Using the same domain name for both NocoDB and MinIO is not recommended
|
⚠️ WARNING: Using the same domain name for both NocoDB and MinIO is not recommended
|
||||||
@@ -598,8 +601,6 @@ EOF
|
|||||||
print_empty_line
|
print_empty_line
|
||||||
get_advanced_options
|
get_advanced_options
|
||||||
else
|
else
|
||||||
print_empty_line
|
|
||||||
echo -e "${BLUE}→ Using default options for advanced settings${NC}"
|
|
||||||
print_empty_line
|
print_empty_line
|
||||||
set_default_options
|
set_default_options
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user