try to use require.lua

This commit is contained in:
Sam Dodrill 2015-01-09 18:36:19 -08:00
parent 1f51251620
commit 5e38cecdf0
2 changed files with 2 additions and 0 deletions

View File

@ -3,3 +3,4 @@ name: "panel"
dependencies:
- moonscript
- lapis
- require

View File

@ -16,6 +16,7 @@ http {
location / {
default_type text/html;
content_by_lua '
require = require"require".require
require("moonscript")
require("lapis").serve("app")
';