summaryrefslogtreecommitdiffstats
path: root/logfiles-tail-ajax.lsp
blob: 8697208ec59cc597de333b61714486662dfec493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<% local view, viewlibrary, page_info = ... %>
<%
	require("json")
	require("html")
%>
Status: 200 OK
Content-Type: "application/json"
<% io.write("\n") %>
<%
	view.value.filecontent.value = html.html_escape(view.value.filecontent.value)
	print(json.encode(view))
%>