[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Have embed.html refresh itself once a day.



commit 0ccb4b7cc8b9ececd5da8cb7966fa833bc34c112
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sat Jul 15 14:38:01 2017 -0700

    Have embed.html refresh itself once a day.
    
    This is a hedge against any bugs that may cause the badge to hang when
    left running for a long time, and it also means that badges will
    effectively check for updated code once a day.
---
 proxy/static/embed.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/static/embed.html b/proxy/static/embed.html
index 2df4354..d1d4e77 100644
--- a/proxy/static/embed.html
+++ b/proxy/static/embed.html
@@ -2,6 +2,7 @@
 <html>
 <head>
   <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
+  <meta http-equiv="refresh" content="86400">
   <script type="text/javascript" src="modernizr.js"></script>
   <script type="text/javascript" src="snowflake.js"></script>
   <style>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits