Mercurial Hosting > luan
view website/src/examples/hi.html.luan @ 1688:5eb985d1411f
'http/serve.luan' now allows overriding port
author | Fox |
---|---|
date | Sat, 11 Jun 2022 21:14:19 +0200 |
parents | 4c2972f4d862 |
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