deploy: change prod sub domain for live

This commit is contained in:
Aarni Halinen
2021-03-30 22:30:11 +03:00
parent ad472ca8ff
commit 242a45a92e
3 changed files with 4 additions and 3 deletions
@@ -56,7 +56,8 @@ app.filter('unsafe', function($sce) {
app.controller('ABBController', function($scope, $http){
$scope.jobs = [];
var min_date = moment().subtract(30,'days').format("YYYY-MM-DD%20HH:mm:ss");
var url = "https://sahkoinsinoorikilta.fi/api/news.php";
// TODO: FIX, we try to get rid of php, not depend on it!
var url = "https://old.sahkoinsinoorikilta.fi/api/news.php";
var params = "?type=11&lang=fi&title_search=ABB&min_date="+min_date
$http.get(url+params).then(function(response){
$scope.jobs = _.filter(response.data, function(job){