Skip to content

Commit

Permalink
fix: 修复 ISLAND_SLUG_REGEX 被错误删除的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
FHU-yezi committed Oct 21, 2024
1 parent ab7623d commit 298ff50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jkit/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
USER_SLUG_REGEX = ARTICLE_SLUG_REGEX = COLLECTION_SLUG_REGEX = regex_compile(
r"^[a-z0-9]{12}$|^[a-zA-z0-9]{6}$"
)
ISLAND_SLUG_REGEX = regex_compile(r"^[a-z0-9]{16}$")

NOTEBOOK_ID_MIN = 100000
NOTEBOOK_ID_MAX = 99999999
Expand Down

0 comments on commit 298ff50

Please sign in to comment.