directly run moonscript
This commit is contained in:
parent
f34dd86b6c
commit
ab6cad7863
|
@ -1,4 +1,5 @@
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
"moonscript",
|
||||||
"lapis",
|
"lapis",
|
||||||
"https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec",
|
"https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec",
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@ http {
|
||||||
location / {
|
location / {
|
||||||
default_type text/html;
|
default_type text/html;
|
||||||
content_by_lua '
|
content_by_lua '
|
||||||
|
require("moonscript")
|
||||||
require("lapis").serve("app")
|
require("lapis").serve("app")
|
||||||
';
|
';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue