view website/src/examples/hi.luan @ 1182:0b55a1af5a44

add luan/host/jetty
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 20 Feb 2018 21:08:04 -0700
parents 49cf706c326a
children
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()
%>
<!doctype html>
<html>
	<body>
		Hello World
	</body>
</html>
<%
end