From 56545b7f410b255c85729ae1b15997ff8e5ecdc2 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 9 Feb 2017 17:25:57 +0100 Subject: [PATCH] Use check-tld directive for domain validation --- webadmin/src/js/setupdns.js | 2 +- webadmin/src/setupdns.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webadmin/src/js/setupdns.js b/webadmin/src/js/setupdns.js index e2677cd22..6ee3cd8ff 100644 --- a/webadmin/src/js/setupdns.js +++ b/webadmin/src/js/setupdns.js @@ -3,7 +3,7 @@ // create main application module var app = angular.module('Application', ['angular-md5', 'ui-notification', 'ngTld']); -app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($scope, $http, Client) { +app.controller('SetupDNSController', ['$scope', '$http', 'Client', 'ngTld', function ($scope, $http, Client, ngTld) { $scope.initialized = false; $scope.busy = false; $scope.error = null; diff --git a/webadmin/src/setupdns.html b/webadmin/src/setupdns.html index 7e32851f8..184260ebd 100644 --- a/webadmin/src/setupdns.html +++ b/webadmin/src/setupdns.html @@ -56,7 +56,7 @@

Provide the domain for your Cloudron

Apps will be installed on subdomains of that domain.

- +