Resolve to index.html for settings page on localhost
Change-Id: I6ecd9aa62eb65c0a5b59114fcf9e760531538916
This commit is contained in:
@@ -289,7 +289,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/", "/p/", "/x/", "/dashboard/", "/admin/"}
|
fePaths = []string{"/q/", "/c/", "/p/", "/x/", "/dashboard/", "/admin/", "/settings/"}
|
||||||
issueNumRE = regexp.MustCompile(`^\/\d+\/?$`)
|
issueNumRE = regexp.MustCompile(`^\/\d+\/?$`)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user