diff options
Diffstat (limited to '_www/hosts.d/index.html')
| -rw-r--r-- | _www/hosts.d/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_www/hosts.d/index.html b/_www/hosts.d/index.html index 2f787e5..6709801 100644 --- a/_www/hosts.d/index.html +++ b/_www/hosts.d/index.html @@ -149,7 +149,7 @@ notifError("invalid or empty IP address") return } - let res = await resc.HostsFileRecordAdd(hostsFile, newRecord.Name, newRecord.Value) + let res = await resc.HostsdRecordAdd(hostsFile, newRecord.Name, newRecord.Value) if (res.code >= 400) { notifError("failed to add record for " + hostsFile + ": " + res.message) return @@ -158,7 +158,7 @@ } async function onDeleteRecord(domain) { - let res = await resc.HostsFileRecordDelete(activeHostsFile.Name, domain) + let res = await resc.HostsdRecordDelete(activeHostsFile.Name, domain) if (res.code !== 200) { notifError("Failed to delete record " + domain) return |
