mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
fix regex matching in app and function services
This commit is contained in:
@@ -5,8 +5,8 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
IDFormat = regexp.MustCompilePOSIX("[a-z0-9-]+")
|
||||
NameFormat = regexp.MustCompilePOSIX("[a-z0-9]+")
|
||||
IDFormat = regexp.MustCompilePOSIX("^[a-z0-9-]+$")
|
||||
NameFormat = regexp.MustCompilePOSIX("^[a-z0-9]+$")
|
||||
|
||||
FunctionKey = "function/func/"
|
||||
OwnerKey = "function/owner/"
|
||||
|
||||
Reference in New Issue
Block a user