view website/src/examples/hi.luan @ 1136:d30d400fd43d

add http/jetty
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 29 Jan 2018 17:50:49 -0700
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