From 538f941f77ac96ab593fa4460d0ab90ed91acd8a Mon Sep 17 00:00:00 2001 From: f Date: Wed, 9 Oct 2024 13:52:22 -0300 Subject: [PATCH] feat: poder crear sitios en testing los sitios en testing no se sincronizan con otros servidores y siempre son locales al panel --- app/views/sites/_form.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/sites/_form.haml b/app/views/sites/_form.haml index ec2712bf..8d909d79 100644 --- a/app/views/sites/_form.haml +++ b/app/views/sites/_form.haml @@ -23,7 +23,7 @@ = f.text_field :name, class: form_control(site, :name), required: true, - pattern: '^([a-z0-9][a-z0-9\-]*)?[a-z0-9\.]$', + pattern: '^([a-z0-9][a-z0-9\-]*)?[a-z0-9\.](\.testing)?$', minlength: 1, maxlength: 63 - if invalid? site, :name