Skip to content

Commit

Permalink
fix: make trailing slash optional for linked posts (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
devcooch committed Oct 12, 2021
1 parent 920e765 commit aab398f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posts/models/linked.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from posts.models.post import Post
from users.models.user import User

CLUB_POST_URL_RE = re.compile(r"https:\/\/vas3k.club\/[\S]+?\/([\S]+?)\/")
CLUB_POST_URL_RE = re.compile(r"https:\/\/vas3k.club\/[\S]+?\/([\S]+?)\/?")


class LinkedPost(models.Model):
Expand Down

0 comments on commit aab398f

Please sign in to comment.