mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +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…
x
Reference in New Issue
Block a user