Browse Source

use https and full hostname to access mw api

stable-5
Dietmar Maurer 2 years ago
parent
commit
3d5bb7ac70
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pve-docs-mediawiki-import.in

+ 1
- 1
pve-docs-mediawiki-import.in View File

@@ -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;

Loading…
Cancel
Save