From: Dietmar Maurer Date: Tue, 4 Jul 2017 11:54:01 +0000 (+0200) Subject: use https and full hostname to access mw api X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=3d5bb7ac705acde7d97e326f39fe7aada2512c14 use https and full hostname to access mw api --- diff --git a/pve-docs-mediawiki-import.in b/pve-docs-mediawiki-import.in index ee7a780..14dffa0 100755 --- a/pve-docs-mediawiki-import.in +++ b/pve-docs-mediawiki-import.in @@ -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;