From ab6cad78636586aafe117f39541ebfb916b7c374 Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Thu, 8 Jan 2015 18:49:41 -0800 Subject: [PATCH] directly run moonscript --- app.rockspec | 1 + nginx.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/app.rockspec b/app.rockspec index 31f47d1..739d7e0 100644 --- a/app.rockspec +++ b/app.rockspec @@ -1,4 +1,5 @@ dependencies = { + "moonscript", "lapis", "https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec", } diff --git a/nginx.conf b/nginx.conf index 9e88115..553614a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,6 +16,7 @@ http { location / { default_type text/html; content_by_lua ' + require("moonscript") require("lapis").serve("app") '; }