From 775c0c1040e6a6622fec39d49b354bfa194a6998 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 30 Sep 2023 20:08:33 -0600 Subject: file serving refactor * do away with fs.FS usage in gemini, like the previous refactor in gopher * remove spartan code in contrib * standardize fsroot/urlroot string arguments to file serving handlers --- examples/cgi/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/cgi') diff --git a/examples/cgi/main.go b/examples/cgi/main.go index a582c9e..4d48422 100644 --- a/examples/cgi/main.go +++ b/examples/cgi/main.go @@ -23,7 +23,7 @@ func main() { } // make use of a CGI request handler - cgiHandler := cgi.GeminiCGIDirectory("/cgi-bin", "./cgi-bin") + cgiHandler := cgi.GeminiCGIDirectory("./cgi-bin", "/cgi-bin") _, infoLog, _, errLog := logging.DefaultLoggers() -- cgit v1.2.3