mirror of
https://github.com/writeas/writefreely
synced 2024-12-08 06:31:47 +01:00
Fix post ID extraction regex
Ref T906
This commit is contained in:
parent
74a0947fdb
commit
9c0a2f8b13
@ -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\\-]{12,16})$")
|
||||
apDraftPostIRIRegex = regexp.MustCompile("/api/posts/([a-z0-9\\-])$")
|
||||
)
|
||||
|
||||
var instanceColl *Collection
|
||||
|
Loading…
Reference in New Issue
Block a user