diff --git a/devbox/cli/devbox b/devbox/cli/devbox index 1870f6c..9fcc05b 100755 --- a/devbox/cli/devbox +++ b/devbox/cli/devbox @@ -153,7 +153,7 @@ devbox_init_guidance() { ENCODING_FREELEAPS_USERNAME=$(url_encode "$freeleaps_username") ENCODEING_FREELEAPS_PASSWORD=$(url_encode "$freeleaps_password") - use_custom_repository="https://$ENCODING_FREELEAPS_USERNAME:$ENCODEING_FREELEAPS_PASSWORD@freeleaps.com:3443/products/$product_id.git" + use_custom_repository="https://$ENCODING_FREELEAPS_USERNAME:$ENCODEING_FREELEAPS_PASSWORD@gitea.freeleaps.mathmast.com/products/$product_id.git" # Test the repository connection if ! git ls-remote "$use_custom_repository"; then @@ -1851,16 +1851,16 @@ devbox_init_command() { ENCODEING_FREELEAPS_PASSWORD=$(url_encode "$FREELEAPS_PASSWORD") # Test if the user can access the freeleaps.com repository log_info "Testing access to freeleaps.com repository..." - if ! git ls-remote "https://$ENCODEING_FREELEAPS_USERNAME:$ENCODEING_FREELEAPS_PASSWORD@freeleaps.com:3443/products/freeleaps.git" &>/dev/null; then + if ! git ls-remote "https://$ENCODEING_FREELEAPS_USERNAME:$ENCODEING_FREELEAPS_PASSWORD@gitea.freeleaps.mathmast.com/products/freeleaps.git" &>/dev/null; then exit_with_message " Failed to access freeleaps.com repository. Please check your username and password." 1 fi FREELEAPS_DIR="$WORKING_HOME/freeleaps" - FRONTEND_GIT_URL="https://$ENCODEING_FREELEAPS_USERNAME:$ENCODEING_FREELEAPS_PASSWORD@freeleaps.com:3443/products/freeleaps.git" + FRONTEND_GIT_URL="https://$ENCODEING_FREELEAPS_USERNAME:$ENCODEING_FREELEAPS_PASSWORD@gitea.freeleaps.mathmast.com/products/freeleaps.git" # Check if freeleaps2-frontend exists, if not git clone it if [ ! -d "$FREELEAPS_DIR" ]; then pushd "$WORKING_HOME" > /dev/null - log_info "Git cloning freeleaps.com:3443/products/freeleaps.git to $FREELEAPS_DIR" + log_info "Git cloning gitea.freeleaps.mathmast.com/products/freeleaps.git to $FREELEAPS_DIR" git clone --depth 5 $FRONTEND_GIT_URL else @@ -1879,7 +1879,7 @@ devbox_init_command() { git clone --depth 5 "$FRONTEND_GIT_URL" else - log_info "Git pulling freeleaps.com:3443/products/freeleaps.git" + log_info "Git pulling gitea.freeleaps.mathmast.com/products/freeleaps.git" git pull fi