mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-04-28 04:35:36 +00:00
use https and full hostname to access mw api
This commit is contained in:
parent
d063df957c
commit
3d5bb7ac70
@ -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…
Reference in New Issue
Block a user