Skip to content

Commit

Permalink
master CreateCommand/PackCreateCommand: remove typo that results in w…
Browse files Browse the repository at this point in the history
…rong http url
  • Loading branch information
daniwe4 committed Jan 30, 2025
1 parent 9f8b31b commit bd33106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/Commands/Instances/CreateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function execute(InputInterface $input, OutputInterface $output) : int
$https_proxy = explode("=", $this->filesystem->getLineInFile("/etc/doil/doil.conf", "https_proxy="))[1];
$http_scheme = "http://";
if ($https_proxy) {
$http_scheme .= "https://";
$http_scheme = "https://";
}
$instance_path = $options["target"] . "/" . $options["name"];
$suffix = $options["global"] ? "global" : "local";
Expand Down
2 changes: 1 addition & 1 deletion app/src/Commands/Pack/PackCreateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function execute(InputInterface $input, OutputInterface $output) : int
$https_proxy = explode("=", $this->filesystem->getLineInFile("/etc/doil/doil.conf", "https_proxy="))[1];
$http_scheme = "http://";
if ($https_proxy) {
$http_scheme .= "https://";
$http_scheme = "https://";
}
$instance_path = $options["target"] . "/" . $options["name"];
$suffix = $options["global"] ? "global" : "local";
Expand Down

0 comments on commit bd33106

Please sign in to comment.