summaryrefslogtreecommitdiff
path: root/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes.go')
-rw-r--r--routes.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routes.go b/routes.go
index f1f57fd..172c45b 100644
--- a/routes.go
+++ b/routes.go
@@ -18,6 +18,8 @@ func addRoute(server Server, router *sr.Router, route RouteDirective) {
addGopherRoute(router, route)
case "gemini":
addGeminiRoute(router, route)
+ case "spartan":
+ addSpartanRoute(router, route)
default:
panic("invalid server type '" + server.Type + "'")
}