diff --git a/backend/stack.ts b/backend/stack.ts index 311bddb..fd22e30 100644 --- a/backend/stack.ts +++ b/backend/stack.ts @@ -72,9 +72,9 @@ export class Stack { } validate() { - // Check name, allows [a-z][A-Z][0-9] _ - only - if (!this.name.match(/^[a-zA-Z0-9_-]+$/)) { - throw new ValidationError("Stack name can only contain [a-z][A-Z][0-9] _ - only"); + // Check name, allows [a-z][0-9] _ - only + if (!this.name.match(/^[a-z0-9_-]+$/)) { + throw new ValidationError("Stack name can only contain [a-z][0-9] _ - only"); } // Check YAML format diff --git a/frontend/src/pages/Compose.vue b/frontend/src/pages/Compose.vue index d47c6b7..4ccb0b6 100644 --- a/frontend/src/pages/Compose.vue +++ b/frontend/src/pages/Compose.vue @@ -68,9 +68,10 @@