view website/src/examples/hi.luan @ 1099:a5406f076726

improve Thread.global
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 05 Apr 2017 16:24:02 -0600
parents 2113294ccc6d
children 49cf706c326a
line wrap: on
line source

local Io = require "luan:Io.luan"
local Http = require "luan:http/Http.luan"


return function()
	Io.stdout = Http.response.text_writer()
%>
<html>
	<body>
		Hello World
	</body>
</html>
<%
end