mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-18 19:59:30 +03:00
Do not insert 'localhost', we are autodetecting the API url
This commit is contained in:
parent
bf513b9ffd
commit
be647cc26a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class PdnsAPI {
|
|||
|
||||
if (!isset($zone['serial']) or gettype($zone['serial']) != 'integer') {
|
||||
$api->method = 'POST';
|
||||
$api->url = '/localhost/zones';
|
||||
$api->url = '/zones';
|
||||
$api->content = json_encode($zonedata);
|
||||
$api->call();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue