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