diff --git a/js/public/app.js b/js/public/app.js index e4d4177..6f56435 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -58,7 +58,7 @@ app.controller('WeatherController', ['$scope', '$interval', '$timeout', '$compil // timeout functions internal calls cannot be serialized $timeout(function () { - var imgPath = OC.generateUrl('/apps/weather').replace('index.php/',''); + var imgPath = OC.filePath('weather','img','').replace('index.php/',''); $scope.owncloudAppImgPath = imgPath; $scope.loadCities(); }); diff --git a/templates/main.php b/templates/main.php index d497495..3ba713c 100644 --- a/templates/main.php +++ b/templates/main.php @@ -48,12 +48,12 @@ Click here to get an API key -