diff --git a/installer/www/index.html b/installer/www/index.html index 511e89f79..2698878d9 100644 --- a/installer/www/index.html +++ b/installer/www/index.html @@ -108,8 +108,11 @@ $(function () { type: 'POST', url: '/api/v1/dns', data: JSON.stringify(data), - success: function (data) { console.log('data: ' + data); }, - contentType: 'application/json' + contentType: 'application/json', + success: function (data, status) { console.log('data: ', status, data); }, + error: function () { + setTimeout(waitForDNS.bind(null, fqdn, ip), 5000); + }, }); }