applications/luci-statistics: fix img url
authorPatrick Grimm <patrick@lunatiki.de>
Fri, 18 Oct 2013 10:42:15 +0000 (10:42 +0000)
committerPatrick Grimm <patrick@lunatiki.de>
Fri, 18 Oct 2013 10:42:15 +0000 (10:42 +0000)
applications/luci-statistics/luasrc/view/public_statistics/graph.htm

index e9b0baf..3249d99 100644 (file)
@@ -38,7 +38,7 @@ $Id$
 <div style="text-align: center">
        <% for i, img in ipairs(images) do %>
                <% if is_index then %><a href="<%=pcdata(images[img])%>"><% end %>
-               <img src="<%=REQUEST_URI%>?img=<%=img%>" />
+               <img src="<%=REQUEST_URI%>?img=<%=img%>&host=<%=current_host%>" />
                <% if is_index then %></a><% end %>
                <br />
        <% end %>