dashboard: move public.json files into a dedicated directory

This commit is contained in:
nemunaire 2018-12-06 03:46:14 +01:00
parent 485ffafc9a
commit 7970b552e9
5 changed files with 25 additions and 22 deletions

View file

@ -19,6 +19,8 @@ import (
"github.com/julienschmidt/httprouter"
)
var TeamsDir string
func init() {
router.GET("/api/ca/", apiHandler(infoCA))
router.GET("/api/ca.pem", apiHandler(getCAPEM))