support backward compatible with old API

This commit is contained in:
DanyLE 2023-01-26 02:27:22 +01:00
parent d59268bc01
commit f4dde9202f

View File

@ -132,6 +132,11 @@ function std.f(path)
fcgio:send_file(path)
end
function std.t(...)
echo(...)
end
function std.html()
std.header("Content-Type", "text/html; charset=utf-8")
std.header_flush()