Update src/program.tcross

This commit is contained in:
2026-10-01 03:53:06 +00:00
parent 302a3f6a2f
commit 03f24d651a
+1 -1
View File
@@ -1,4 +1,3 @@
var pages = {
.["/"] = SendText("text/html",(ctx)=>Pages.Index()),
.["/cross-image"] = SendText("text/html",(ctx)=>Pages.CrossImage()),
@@ -10,6 +9,7 @@ var pages = {
.["/robots.txt"] = SendText("text/plain",(ctx)=>"User-Agent: *\r\nAllow: /\r\n"),
.["/favicon.ico"] = SendBytes("favicon.ico",embed("favicon.ico"))
};
func SendBytes(filename,data)
{
return (ctx)=>{