mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-24 11:09:01 +08:00
Added hello world for Lua
This commit is contained in:
parent
f7fcfa6a42
commit
cbd8d69e6d
4
examples/hello.lp
Normal file
4
examples/hello.lp
Normal file
@ -0,0 +1,4 @@
|
||||
<? mg.write('HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n') ?>
|
||||
<html><body>
|
||||
<span>Today is:</span> <? mg.write(os.date("%A")) ?>
|
||||
</body></html>
|
Loading…
Reference in New Issue
Block a user