Browse Source

http to https for weather API

master
Nero 5 years ago
parent
commit
a8bdb87065
  1. 2
      app.js

2
app.js

@ -531,7 +531,7 @@ let kara = new Vue({
} }
let city = this.location.toLowerCase(); let city = this.location.toLowerCase();
let url = 'http://api.openweathermap.org/data/2.5/weather?q=' + city + '&appid=8a1aa336da8899c1038bf6bd808d8961&units=metric'; let url = 'https://api.openweathermap.org/data/2.5/weather?q=' + city + '&appid=8a1aa336da8899c1038bf6bd808d8961&units=metric';
axios.get(url) axios.get(url)
.then(function (response) { .then(function (response) {

Loading…
Cancel
Save