try to use require.lua
This commit is contained in:
parent
1f51251620
commit
5e38cecdf0
|
@ -16,6 +16,7 @@ http {
|
|||
location / {
|
||||
default_type text/html;
|
||||
content_by_lua '
|
||||
require = require"require".require
|
||||
require("moonscript")
|
||||
require("lapis").serve("app")
|
||||
';
|
||||
|
|
Loading…
Reference in New Issue