]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.ts
Create comment on replied mastodon statutes
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.ts
index 100a77622f5ce2f214da8703d2111a0f23eee84b..c8b21d10d3c3b67ee60960f15cea68090307a3ed 100644 (file)
@@ -175,6 +175,9 @@ const CONSTRAINTS_FIELDS = {
   },
   VIDEO_EVENTS: {
     COUNT: { min: 0 }
+  },
+  COMMENT: {
+    URL: { min: 3, max: 2000 } // Length
   }
 }