view website/src/examples/hi.luan @ 724:4f8e30a3ffd0

add Hosting.change_domain()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 07 Jun 2016 16:00:41 -0600
parents ca169567ce07
children 2113294ccc6d
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