Mercurial Hosting > luan
changeset 1124:ea7112e9eb1d
remove env from run.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 21 Aug 2017 12:06:19 -0600 |
parents | f2eb8295033f |
children | 442abdfff437 |
files | src/luan/modules/http/tools/run.luan |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
diff -r f2eb8295033f -r ea7112e9eb1d src/luan/modules/http/tools/run.luan --- a/src/luan/modules/http/tools/run.luan Mon Aug 14 17:39:08 2017 -0600 +++ b/src/luan/modules/http/tools/run.luan Mon Aug 21 12:06:19 2017 -0600 @@ -84,13 +84,9 @@ form() return end - local env = { - request = Http.request; - response = Http.response; - } try { function() - local run = load(code,"<web_run>",env) + local run = load(code,"<web_run>") run() end; catch = function(e)