Fix post ID extraction regex, actually
Ref T906
This commit is contained in:
parent
1b20d3704f
commit
8193a41082
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ const (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
apCollectionPostIRIRegex = regexp.MustCompile("/api/collections/([a-z0-9\\-]+)/posts/([a-z0-9\\-]+)$")
|
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
|
var instanceColl *Collection
|
||||||
|
|
Loading…
Add table
Reference in a new issue