]> git.proxmox.com Git - pve-docs.git/commitdiff
use https and full hostname to access mw api
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Jul 2017 11:54:01 +0000 (13:54 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Jul 2017 11:54:01 +0000 (13:54 +0200)
pve-docs-mediawiki-import.in

index ee7a78049fe8e449e5e3081cd68c7520fb489854..14dffa09d9e7556f1c13c72145f303f7497b308f 100755 (executable)
@@ -21,7 +21,7 @@ my $config_fn = "/root/.pve-docs"; # format 'username:pw'
 my $fh = IO::File->new("$config_fn") ||
     die "Please configure the mediawiki user/passswd in '$config_fn'\n";
 
-my $api_url = "http://localhost/mediawiki/api.php";
+my $api_url = "https://pve.proxmox.com/mediawiki/api.php";
 
 my $config = <$fh>;
 chomp $config;