remove subnet masks
This commit is contained in:
parent
47b5f3127a
commit
32395683c3
@ -263,6 +263,10 @@ async function init () {
|
||||
res.send('Nothing to do')
|
||||
}
|
||||
|
||||
// Remove subnet masks
|
||||
if (v6) v6 = v6.replace(/\/(\d+)$/, '')
|
||||
if (v4) v4 = v4.replace(/\/(\d+)$/, '')
|
||||
|
||||
try {
|
||||
await updateZone(Object.assign({
|
||||
token: token,
|
||||
|
Loading…
Reference in New Issue
Block a user