summaryrefslogtreecommitdiff
path: root/routes.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2023-11-14 18:58:06 -0700
committertjp <tjp@ctrl-c.club>2023-11-14 18:58:06 -0700
commit2cdc569840f36dad139132c37de1b62e21a971b7 (patch)
tree2fd4b5c5626a50230ffcd0b6f28dcb048482ef56 /routes.go
parenta2b05982a2bbd2c7baee1efb7e98db8de9123330 (diff)
initial support for nex protocol
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 172c45b..2f9695a 100644
--- a/routes.go
+++ b/routes.go
@@ -20,6 +20,8 @@ func addRoute(server Server, router *sr.Router, route RouteDirective) {
addGeminiRoute(router, route)
case "spartan":
addSpartanRoute(router, route)
+ case "nex":
+ addNexRoute(router, route)
default:
panic("invalid server type '" + server.Type + "'")
}