Add /admin/ routes to run-server
Change-Id: I5b30cd5f346a675329f55498541d6987c277a7ea
This commit is contained in:
@@ -200,7 +200,7 @@ type server struct{}
|
|||||||
|
|
||||||
// Any path prefixes that should resolve to index.html.
|
// Any path prefixes that should resolve to index.html.
|
||||||
var (
|
var (
|
||||||
fePaths = []string{"/q/", "/c/", "/dashboard/"}
|
fePaths = []string{"/q/", "/c/", "/dashboard/", "/admin/"}
|
||||||
issueNumRE = regexp.MustCompile(`^\/\d+\/?$`)
|
issueNumRE = regexp.MustCompile(`^\/\d+\/?$`)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user