Mercurial Hosting > luan
diff src/luan/tools/web_run.luan @ 139:3b384dc5ca91
replace WebShell.java with web_shell.luan
git-svn-id: https://luan-java.googlecode.com/svn/trunk@140 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 13 Jun 2014 12:26:44 +0000 |
parents | 06159094b802 |
children | 925ba2d59b9d |
line wrap: on
line diff
--- a/src/luan/tools/web_run.luan Thu Jun 12 08:20:48 2014 +0000 +++ b/src/luan/tools/web_run.luan Fri Jun 13 12:26:44 2014 +0000 @@ -16,7 +16,7 @@ end end -return function() +function page() Http.response.set_content_type "text/plain" Io.stdout = Http.response.text_writer() local code = Http.request.get_parameter "code"