diff --git a/src/router/router.go b/src/router/router.go index ce1c620..ade5feb 100644 --- a/src/router/router.go +++ b/src/router/router.go @@ -5,6 +5,7 @@ import ( "dofdev/web/pages/about" braillexr "dofdev/web/pages/braille_xr" + "dofdev/web/pages/dev" "dofdev/web/pages/games" "dofdev/web/pages/mono" "dofdev/web/pages/moves" @@ -20,6 +21,7 @@ func New() *mux.Router { r.PathPrefix(("/public/")).Handler(http.StripPrefix("/public/", http.FileServer(http.Dir("web/public/")))) r.HandleFunc("/", mono.Handler) r.HandleFunc("/about", about.Handler) + r.HandleFunc("/dev", dev.Handler) r.HandleFunc("/moves", moves.Handler) r.HandleFunc("/move/{hash}", moves.MoveHandler) r.HandleFunc("/games", games.Handler) diff --git a/tem/html/pages/dev.html b/tem/html/pages/dev.html new file mode 100644 index 0000000..af30e95 --- /dev/null +++ b/tem/html/pages/dev.html @@ -0,0 +1,6 @@ +{{ template "head.html" .}} + +
+ +