From 5e38cecdf0efc5362c8f4b708bb4b4e8609592fe Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Fri, 9 Jan 2015 18:36:19 -0800 Subject: [PATCH] try to use require.lua --- app.yaml | 1 + nginx.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/app.yaml b/app.yaml index 4aaf3ab..a36c6e2 100644 --- a/app.yaml +++ b/app.yaml @@ -3,3 +3,4 @@ name: "panel" dependencies: - moonscript - lapis + - require diff --git a/nginx.conf b/nginx.conf index 553614a..67a131f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -16,6 +16,7 @@ http { location / { default_type text/html; content_by_lua ' + require = require"require".require require("moonscript") require("lapis").serve("app") ';