1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

fix(edge-stack): add validation for edge stack name [EE-4283] (#8504)

This commit is contained in:
cmeng 2023-03-01 19:51:08 +13:00 committed by GitHub
parent defce0cf6d
commit 6d659b4a2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 3 deletions

View file

@ -1,3 +1,5 @@
export const STACK_NAME_VALIDATION_REGEX = '^[-_a-z0-9]+$';
export const BROWSER_OS_PLATFORM = getOs();
function getOs() {