projects
/
pve-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d063df9
)
use https and full hostname to access mw api
author
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 4 Jul 2017 11:54:01 +0000
(13:54 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 4 Jul 2017 11:54:01 +0000
(13:54 +0200)
pve-docs-mediawiki-import.in
patch
|
blob
|
blame
|
history
diff --git
a/pve-docs-mediawiki-import.in
b/pve-docs-mediawiki-import.in
index ee7a78049fe8e449e5e3081cd68c7520fb489854..14dffa09d9e7556f1c13c72145f303f7497b308f 100755
(executable)
--- 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 = "http
s://pve.proxmox.com
/mediawiki/api.php";
my $config = <$fh>;
chomp $config;