Mercurial Hosting > luan
view website/src/examples/hi.html.luan @ 1615:38894708bade
better init.luan exception handling
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Jun 2021 18:00:49 -0600 |
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