File: hello_config.lua

package info (click to toggle)
lua-wsapi 1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 640 kB
  • sloc: ansic: 618; sh: 495; makefile: 42
file content (9 lines) | stat: -rw-r--r-- 187 bytes parent folder | download
1
2
3
4
5
6
7
8
9
isolated = false
local app = dofile(docroot .. "/hello.lua")

rules = {
  {
    match = { "^/app$", "^/app/" },
    with = wsapi.xavante.makeHandler(app, "/app", docroot, docroot)
  },
}