From 3af560c2d0c08f8a06e3ad870fa938859fb43ea6 Mon Sep 17 00:00:00 2001 From: spalger Date: Thu, 16 Apr 2020 15:14:49 -0700 Subject: [PATCH] switch to 255 limit to match db --- backend/schema/endpoints/proxy-hosts.json | 3 ++- frontend/js/app/nginx/proxy/form.ejs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/schema/endpoints/proxy-hosts.json b/backend/schema/endpoints/proxy-hosts.json index b472707..9a3fff2 100644 --- a/backend/schema/endpoints/proxy-hosts.json +++ b/backend/schema/endpoints/proxy-hosts.json @@ -24,7 +24,8 @@ }, "forward_host": { "type": "string", - "minLength": 1 + "minLength": 1, + "maxLength": 255 }, "forward_port": { "type": "integer", diff --git a/frontend/js/app/nginx/proxy/form.ejs b/frontend/js/app/nginx/proxy/form.ejs index 254e295..0cc0d54 100644 --- a/frontend/js/app/nginx/proxy/form.ejs +++ b/frontend/js/app/nginx/proxy/form.ejs @@ -44,7 +44,7 @@
- +