remove subnet masks

This commit is contained in:
Evert Prants 2019-02-05 19:12:34 +02:00
parent 47b5f3127a
commit 32395683c3
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -263,6 +263,10 @@ async function init () {
res.send('Nothing to do') res.send('Nothing to do')
} }
// Remove subnet masks
if (v6) v6 = v6.replace(/\/(\d+)$/, '')
if (v4) v4 = v4.replace(/\/(\d+)$/, '')
try { try {
await updateZone(Object.assign({ await updateZone(Object.assign({
token: token, token: token,