mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
New feature: FETCH() permits http gets in dnsconfig.js (#1007)
add PANIC() and error-handled FETCH()
This commit is contained in:
@ -962,3 +962,7 @@ function CLI_DEFAULTS(defaults) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function FETCH() {
|
||||
return fetch.apply(null, arguments).catch(PANIC);
|
||||
}
|
||||
|
Reference in New Issue
Block a user