fix some issues

This commit is contained in:
Wenhua Shi
2023-04-17 19:29:01 +08:00
parent f5fec6b24d
commit a6cf150e95
5 changed files with 30 additions and 27 deletions

View File

@@ -39,7 +39,7 @@ import (
// versionMatcher defines a variable matcher to be parsed by the router
// when a request is about to be served.
const versionMatcher = "/v{version:[0-9.]+}"
const versionMatcher = "/v{version:[0-9.]+(?:-dirty)}"
// Config provides the configuration for the API server
type Config struct {