1
0
forked from aniani/gmnisrv

fix typo in GATEWAY_INTERFACE value

This commit is contained in:
dbandstra 2020-11-07 23:14:52 +00:00 committed by Drew DeVault
parent 4b2c3afdb0
commit c145ac6a65

View File

@ -167,7 +167,7 @@ serve_cgi(struct gmnisrv_client *client, const char *path,
assert(addrs); assert(addrs);
// Compatible with Jetforce // Compatible with Jetforce
setenv("GATEWAY_INTERFACE", "GCI/1.1", 1); setenv("GATEWAY_INTERFACE", "CGI/1.1", 1);
setenv("SERVER_PROTOCOL", "GEMINI", 1); setenv("SERVER_PROTOCOL", "GEMINI", 1);
setenv("SERVER_SOFTWARE", "gmnisrv/0.0.0", 1); setenv("SERVER_SOFTWARE", "gmnisrv/0.0.0", 1);
setenv("GEMINI_URL", client->buf, 1); setenv("GEMINI_URL", client->buf, 1);