File: hello_config.lua

package info (click to toggle)
lua-wsapi 1.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 628 kB
  • sloc: sh: 961; ansic: 656; makefile: 51
file content (10 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
isolated = false
local app = dofile(docroot .. "/hello.lua")
local wsx = require "wsapi.xavante"

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