From 4fd287655a72b9aea14cdac715ad5b90ed082ed2 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sun, 19 Jun 2022 19:47:51 +0530 Subject: add circuitpython code --- circuitpython/lib/axtls/www/lua/test_main.lp | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 circuitpython/lib/axtls/www/lua/test_main.lp (limited to 'circuitpython/lib/axtls/www/lua/test_main.lp') diff --git a/circuitpython/lib/axtls/www/lua/test_main.lp b/circuitpython/lib/axtls/www/lua/test_main.lp new file mode 100644 index 0000000..917ee1e --- /dev/null +++ b/circuitpython/lib/axtls/www/lua/test_main.lp @@ -0,0 +1,31 @@ + +Embeded Lua Test + + +cgi = { +\n", vv, a, tostring(b)) + end + v = vv.."}" + end +?> +<%= i %> = <%= tostring(v) %>
+<% +end +%> +} +
+Remote address: <%= cgilua.servervariable"REMOTE_ADDR" %> +
+Is persistent = <%= tostring (SAPI.Info.ispersistent) %> +
+ap =
+lfcgi = <% = tostring(lfcgi) %>
+<%= (ap and ap.handler()) or "" %>
+ + + -- cgit v1.2.3