2013-08-25 63 views
0

我拿了一個代碼圖片,告訴你你的構建狀態,並把它放在我的網站上。所以,現在它看起來像img src =「http://codeship..../>問題是它沒有刷新,我需要它自動調用鏈接到圖像並每5分鐘刷新一次如何在erb中的div中刷新圖像?

回答

0

一個簡單的修復方法是添加一個元標記,每5分鐘刷新一次頁面(300秒):

<html> 
    <head> 
    <title>Codeship Status Page</title> 
    <meta http-equiv=」refresh」 content=」300" > 
    </head> 
    <body> 
     ... 
     <img src="http://codeship...."/> 
     ... 
    </body> 
</html>