Commit 4c66c6c9 authored by zauberstuhl's avatar zauberstuhl

Fix regex for index page

parent 41601d31
Pipeline #778 passed with stage
in 1 minute and 27 seconds
......@@ -65,7 +65,7 @@ func main() {
handler := RegexpHandler{}
handler.HandleFunc(regexp.MustCompile(`^/[^/]*$`), indexPage)
handler.HandleFunc(regexp.MustCompile(`^/$`), indexPage)
handler.HandleFunc(regexp.MustCompile(`^/images/stats/`), generatePictures)
handler.HandleFunc(regexp.MustCompile("^/auth/github"), authGithubPage)
handler.HandleFunc(regexp.MustCompile("^/auth/gitlab"), authGitlabPage)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment