diff --git a/templates/js/app.js b/templates/js/app.js index 5f4777f..cb5558a 100644 --- a/templates/js/app.js +++ b/templates/js/app.js @@ -79,3 +79,9 @@ app.config(['$routeProvider', '$locationProvider', } ]); +app.config(function($mdThemingProvider) { + $mdThemingProvider.theme('default') + .primaryPalette('teal') + .accentPalette('blue-grey'); + +}); \ No newline at end of file diff --git a/templates/js/controllers/mainController.js b/templates/js/controllers/mainController.js index 2e6c04d..b5e5632 100644 --- a/templates/js/controllers/mainController.js +++ b/templates/js/controllers/mainController.js @@ -1,5 +1,3 @@ -var DEBUG = true; - angular.module('SeHub') .controller('mainController', ['$scope', '$rootScope', 'dataService', 'apiService', '$cookies', @@ -16,7 +14,7 @@ angular.module('SeHub') if (status == 204) { console.error("No User Found!"); $cookieStore.remove('com.sehub.www'); - window.location = DEBUG ? 'http://localhost:8080' : 'http://se-hub.appstpot.com/'; + window.location = 'http://se-hub.appstpot.com/'; } $scope.loadingData = false; $scope.user = data;