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 e9b0baf05e1ae90d384604651a30ab6c4773fd05..3249d993b93d2e49242254a7ebc5ddf24e28321a 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 %>