summaryrefslogtreecommitdiffstats
path: root/app/template-json.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'app/template-json.lsp')
-rw-r--r--app/template-json.lsp5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/template-json.lsp b/app/template-json.lsp
new file mode 100644
index 0000000..03dd5bf
--- /dev/null
+++ b/app/template-json.lsp
@@ -0,0 +1,5 @@
+<% local view, viewlibrary, page_info, session = ... %>
+Status: 200 OK
+Content-Type: "application/json"
+<% io.write("\n") %>
+<% page_info.viewfunc(view, viewlibrary, page_info, session) %>