remove subnet masks
This commit is contained in:
parent
47b5f3127a
commit
32395683c3
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user