1
0
mirror of https://github.com/writeas/writefreely synced 2025-01-07 13:31:43 +01:00

Fix post ID extraction regex, actually

Ref T906
This commit is contained in:
Matt Baer 2024-10-21 12:37:37 -04:00
parent 1b20d3704f
commit 8193a41082

View File

@ -48,7 +48,7 @@ const (
var (
apCollectionPostIRIRegex = regexp.MustCompile("/api/collections/([a-z0-9\\-]+)/posts/([a-z0-9\\-]+)$")
apDraftPostIRIRegex = regexp.MustCompile("/api/posts/([a-z0-9\\-])$")
apDraftPostIRIRegex = regexp.MustCompile("/api/posts/([a-z0-9\\-]+)$")
)
var instanceColl *Collection