13 lines
156 B
Lua
13 lines
156 B
Lua
|
local lapis = require("lapis")
|
||
|
local app = lapis.Application()
|
||
|
|
||
|
app:enable("etlua")
|
||
|
|
||
|
app:get("/", function()
|
||
|
return {render = "index"}
|
||
|
end)
|
||
|
|
||
|
return app
|
||
|
|
||
|
|