diff options
author | the lemons <citrons@mondecitronne.com> | 2022-02-07 09:50:24 -0600 |
---|---|---|
committer | the lemons <citrons@mondecitronne.com> | 2022-02-07 09:50:24 -0600 |
commit | 2b11ec17b16c1b4d17db4f00517e200a52b7e636 (patch) | |
tree | fb7804f6952efb9fb66de18464720735078e4809 /zzcxz.cgi | |
parent | 4d245e47f1241c9d82d43396bf099519c6b01ddf (diff) |
robots.txt
Diffstat (limited to 'zzcxz.cgi')
-rwxr-xr-x | zzcxz.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -503,6 +503,11 @@ map["^/about/?$"] = function() return assert(io.open("about.html", 'r')) end +map["^/robots.txt$"] = function() + return assert(io.open("robots.txt", 'r')), + { content_type = 'text/plain' } +end + local function main() if env "PATH_INFO" == "/" then return redirect "/g/zzcxz" |