update default key regex

This commit is contained in:
ghost 2024-02-19 23:55:38 +02:00
parent b4a9dac3d9
commit a692c7f693

2
.env
View File

@ -104,7 +104,7 @@ APP_ADD_POST_REMOTE_IP_DENIED=
# Post ID rules (for kevacoin key)
# do not change to keep external KevaChat nodes compatibility
APP_ADD_POST_KEY_REGEX=/^([\d]{1,260})@([A-z0-9-_]{1,260})$/
APP_ADD_POST_KEY_REGEX=/^([\d]{1,64})@([A-z0-9-_]{1,64})$/
# Post content rules (for kevacoin value, max length is 3072)
# do not change to keep external KevaChat nodes compatibility