diff --git a/univcloud/static/js/jquery.simpleWeather.js b/univcloud/static/js/jquery.simpleWeather.js index f0b9781..5e58a48 100644 --- a/univcloud/static/js/jquery.simpleWeather.js +++ b/univcloud/static/js/jquery.simpleWeather.js @@ -25,7 +25,7 @@ var now = new Date(); - var weatherUrl = 'http://query.yahooapis.com/v1/public/yql?format=json&rnd='+now.getFullYear()+now.getMonth()+now.getDay()+now.getHours()+'&diagnostics=true&callback=?&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&q='; + var weatherUrl = 'https://query.yahooapis.com/v1/public/yql?format=json&rnd='+now.getFullYear()+now.getMonth()+now.getDay()+now.getHours()+'&diagnostics=true&callback=?&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&q='; if(options.location !== '') { weatherUrl += 'select * from weather.forecast where location in (select id from weather.search where query="'+options.location+'") and u="'+options.unit+'"'; } else if(options.zipcode !== '') { @@ -132,4 +132,4 @@ return this; } }); -})(jQuery); \ No newline at end of file +})(jQuery);