diff --git a/imageroot/actions/configure-module/validate-input.json b/imageroot/actions/configure-module/validate-input.json index 869c37a..af71c10 100644 --- a/imageroot/actions/configure-module/validate-input.json +++ b/imageroot/actions/configure-module/validate-input.json @@ -42,7 +42,8 @@ "hostname": { "type": "string", "description": "Host name for the application, like 'ejabberd.org'", - "format": "idn-hostname" + "format": "hostname", + "pattern": "\\." }, "lets_encrypt": { "type": "boolean", diff --git a/ui/public/i18n/en/translation.json b/ui/public/i18n/en/translation.json index 57b82f3..04ac5c3 100644 --- a/ui/public/i18n/en/translation.json +++ b/ui/public/i18n/en/translation.json @@ -53,7 +53,9 @@ "save": "Save", "specify_duration": "Specify duration", "days": "Days", - "never": "Never clean" + "never": "Never clean", + "hostname_pattern": "Must be a valid fully qualified domain name", + "hostname_format": "Must be a valid fully qualified domain name" }, "about": { "title": "About"