ActivityPub-federated video streaming platform using P2P directly in your web browser
Accept numbers in plugin names
Chocobozzz5644f9b0351c
diff --git a/server/helpers/custom-validators/plugins.ts b/server/helpers/custom-validators/plugins.tsindex 5a4531f72e..d2fc039362 100644--- a/server/helpers/custom-validators/plugins.ts+++ b/server/helpers/custom-validators/plugins.ts@@ -14,7 +14,7 @@ function isPluginTypeValid (value: any) {function isPluginNameValid (value: string) {return exists(value) &&validator.isLength(value, PLUGINS_CONSTRAINTS_FIELDS.NAME) &&- validator.matches(value, /^[a-z-]+$/)+ validator.matches(value, /^[a-z-0-9]+$/)}function isNpmPluginNameValid (value: string) {