summaryrefslogtreecommitdiff
path: root/gopher.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2023-11-14 15:47:13 -0700
committertjp <tjp@ctrl-c.club>2023-11-14 15:47:13 -0700
commitde6853760c155596f05b7d20bb53bbec0b3eb30e (patch)
tree9731993e758c1eced822c83d95fd0c6d407d6416 /gopher.go
parent1a3ec70d3f0b7d62e570f3b85aa7e0e034a2cc7b (diff)
fixes and adjusting to a sliderule bump
Diffstat (limited to 'gopher.go')
-rw-r--r--gopher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gopher.go b/gopher.go
index dcd2085..ecef9c0 100644
--- a/gopher.go
+++ b/gopher.go
@@ -69,7 +69,7 @@ func addGopherStaticRoute(router *sr.Router, route RouteDirective) {
handlers := []sr.Handler{}
if route.Modifiers.Exec {
- handlers = append(handlers, cgi.ExecGopherMaps(route.FsPath, route.URLPath, route.Modifiers.ExecCmd, settings))
+ handlers = append(handlers, cgi.GopherCGIDirectory(route.FsPath, route.URLPath, route.Modifiers.ExecCmd, settings))
}
handlers = append(handlers, fs.GopherFileHandler(route.FsPath, route.URLPath, settings))