Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kzhuklinets authored Aug 20, 2024
1 parent 9cbacb4 commit 320271f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions updater/bin/update_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,10 @@ def show_diff(original_file, updated_file)
# Setup the hostname, protocol and port to be used #
####################################################
$options[:azure_port] = ENV["AZURE_PORT"] || ($options[:azure_protocol] == "http" ? "80" : "443")
$api_endpoint = "#{$options[:azure_protocol]}://#{$options[:azure_hostname]}:#{$options[:azure_port]}/"
$hostname = "#{$options[:azure_hostname]}:#{$options[:azure_port]}"
# $api_endpoint = "#{$options[:azure_protocol]}://#{$options[:azure_hostname]}:#{$options[:azure_port]}/"
# $hostname = "#{$options[:azure_hostname]}:#{$options[:azure_port]}"
$api_endpoint = "#{$options[:azure_protocol]}://#{$options[:azure_hostname]}/"
$hostname = "#{$options[:azure_hostname]}
unless $options[:azure_virtual_directory].empty?
$api_endpoint = $api_endpoint + "#{$options[:azure_virtual_directory]}/"
Expand Down

0 comments on commit 320271f

Please sign in to comment.