Mercurial Hosting > luan
diff src/luan/modules/http/tools/run.luan @ 1124:ea7112e9eb1d
remove env from run.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 21 Aug 2017 12:06:19 -0600 |
parents | e2eb55d86bb2 |
children | 0842b9b570f8 |
line wrap: on
line diff
--- 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)