Commit e1503d97 authored by Zach Knox's avatar Zach Knox
Browse files

fixed non-HTTPS links

parent d84a62e8
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
</div> </div>
<div class="mdl-mini-footer__right-section" style="align: right"> <div class="mdl-mini-footer__right-section" style="align: right">
A project of Mason <a href="http://srct.gmu.edu/"><strong>SRCT</strong></a>, a registered student org. A project of Mason <a href="https://srct.gmu.edu/"><strong>SRCT</strong></a>, a registered student org.
<br />Read and <a href="https://git.gmu.edu//srct/weather/milestones/">contribute</a> <br />Read and <a href="https://git.gmu.edu//srct/weather/milestones/">contribute</a>
to our <a href="https://www.gnu.org/licenses/quick-guide-gplv3.html">freely-licensed</a> to our <a href="https://www.gnu.org/licenses/quick-guide-gplv3.html">freely-licensed</a>
<a href="http://git.gmu.edu/srct/weather/" target="_blank">source code</a>. <a href="https://git.gmu.edu/srct/weather/" target="_blank">source code</a>.
</div> </div>
</footer> </footer>
</template> </template>
...@@ -17,7 +17,7 @@ function getWeather(latitude, longitude) { ...@@ -17,7 +17,7 @@ function getWeather(latitude, longitude) {
var date = new Date(); var date = new Date();
var timeDiff = (date.getTime()) - curWeatherData.retrievalTime; //Subtract the data timestamp form cur time to get age var timeDiff = (date.getTime()) - curWeatherData.retrievalTime; //Subtract the data timestamp form cur time to get age
if(timeDiff > (Meteor.settings.weatherCacheExpireTime*1000)) { if(timeDiff > (Meteor.settings.weatherCacheExpireTime*10)) {
//Data is expired, retrieve again. //Data is expired, retrieve again.
console.log("Data Age: "+timeDiff) console.log("Data Age: "+timeDiff)
console.log("Cache expired. Retrieving...") console.log("Cache expired. Retrieving...")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment