mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 11:36:21 +00:00
feat: poder crear sitios en testing
los sitios en testing no se sincronizan con otros servidores y siempre son locales al panel
This commit is contained in:
parent
63d2e7af46
commit
538f941f77
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue