Mercurial Hosting > luan
comparison website/src/examples/hi.luan @ 494:2b9bc97f0439
change luan:web to luan:http
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 15 May 2015 17:43:13 -0600 |
parents | 12ee9a336b95 |
children | 598123096772 |
comparison
equal
deleted
inserted
replaced
493:1d082a0812e0 | 494:2b9bc97f0439 |
---|---|
1 local Io = require "luan:Io" | 1 local Io = require "luan:Io" |
2 local Http = require "luan:web/Http" | 2 local Http = require "luan:http/Http" |
3 | 3 |
4 | 4 |
5 function service() | 5 function service() |
6 Io.stdout = Http.response.text_writer() | 6 Io.stdout = Http.response.text_writer() |
7 %> | 7 %> |