added dns api

This commit is contained in:
William Mantly 2016-07-15 16:28:55 -04:00
parent 432b056609
commit 08f3b1fce6

View File

@ -48,7 +48,8 @@ var workers = (function(){
if(workers.currentCreating > workers.currentCreatingMax ) return false;
return doapi.dropletCreate({
name: 'clw'+workerSnapID+'-'+(Math.random()*100).toString().slice(-4),
image: '18473675'
image: '18473675',
size: '2gb'
}, function(data){
data = JSON.parse(data);
workers.currentCreating++;