Mercurial Hosting > luan
comparison website/src/examples/hi2.luan @ 1178:49cf706c326a
serve_for_nginx on port 8081
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 13 Feb 2018 22:44:06 -0700 |
parents | 21d157b153fe |
children | 5dbb552075ff |
comparison
equal
deleted
inserted
replaced
1177:26533dd4cd09 | 1178:49cf706c326a |
---|---|
2 local Http = require "luan:http/Http.luan" | 2 local Http = require "luan:http/Http.luan" |
3 | 3 |
4 | 4 |
5 local function form() | 5 local function form() |
6 %> | 6 %> |
7 <!doctype html> | |
7 <html> | 8 <html> |
8 <body> | 9 <body> |
9 <h1>Hello</h1> | 10 <h1>Hello</h1> |
10 <form> | 11 <form> |
11 What is your name? | 12 What is your name? |