package main import "git.aiterp.net/AiteRP/aitestory/server" import "git.aiterp.net/AiteRP/aitestory/controllers" import "git.aiterp.net/gisle/wrouter/auth" func main() { router := &server.Main.Router auth.Register(&controllers.WikiAthenticator{}) router.Mount("/user", &controllers.UserController) router.Mount("/page", &controllers.PageController) router.Mount("/", &controllers.ListController) router.Static("/ui/", server.Main.Config.Directories.UI) server.Main.Start() }