applications/luci-statistics: make it work under uhttpd
[project/luci.git] / applications / luci-statistics / luasrc / view / public_statistics / graph.htm
index 71be2aa..fcc452f 100644 (file)
@@ -31,7 +31,7 @@ $Id$
 
 <div style="text-align: center">
        <% for i, img in ipairs(images) do %>
-               <img src="/rrdimg/<%=img%>" />
+               <img src="<%=REQUEST_URI%>?img=<%=img%>" />
                <br />
        <% end %>
 </div>