diff --git a/data/templates/Makefile.am b/data/templates/Makefile.am index e4b0134..040a8d9 100644 --- a/data/templates/Makefile.am +++ b/data/templates/Makefile.am @@ -3,7 +3,8 @@ templatesdir = $(pkgdatadir) TEMPLATES = \ debug.html \ default.html \ - stats.html + stats.html \ + stats-json.html templates_DATA = \ $(TEMPLATES) diff --git a/data/templates/stats-json.html b/data/templates/stats-json.html new file mode 100644 index 0000000..e2a1348 --- /dev/null +++ b/data/templates/stats-json.html @@ -0,0 +1 @@ +{{ "version":"{version}", "open":{opens}, "requests":{reqs}, "bad":{badconns}, "denied":{deniedconns}, "refused":{refusedconns} }