From 629e6a0e0c3a24f35888036f957ee3a631e62816 Mon Sep 17 00:00:00 2001 From: tjp Date: Mon, 13 Nov 2023 07:27:36 -0700 Subject: add nex protocol support --- contrib/cgi/nex.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 contrib/cgi/nex.go (limited to 'contrib/cgi') diff --git a/contrib/cgi/nex.go b/contrib/cgi/nex.go new file mode 100644 index 0000000..60d487d --- /dev/null +++ b/contrib/cgi/nex.go @@ -0,0 +1,10 @@ +package cgi + +import ( + "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/nex" +) + +func NexCGIDirectory(fsroot, urlroot, cmd string) sliderule.Handler { + return cgiDirectory(nex.ServerProtocol, fsroot, urlroot, cmd) +} -- cgit v1.2.3