'use strict';

/**
 * @ngdoc service
 * @name openSenseMapApp.OpenSenseBoxAPI
 * @description Defines the settings for the OpenSenseBox API such as the URL
 * # OpenSenseBox
 * Factory in the openSenseMapApp.
 */
angular.module('openSenseMapApp')
  .factory('OpenSenseBoxAPI', function ($resource) {
  	var api = {
  		//url: 'http://api.opensensemap.org'
  		url: 'http://opensensemap.org:9000'
  		//url: 'http://localhost:8000'
  	};
    return api;
  });

@@ -240,18 +240,17 @@
 apApp')%0A
-  
+%09
 .factory
@@ -292,18 +292,17 @@
 urce) %7B%0A
-  
+%09
 %09var api
@@ -306,22 +306,19 @@
 api = %7B%0A
-  %09%09//
+%09%09%09
 url: 'ht
@@ -319,16 +319,17 @@
 l: 'http
+s
 ://api.o
@@ -349,93 +349,15 @@
 rg'%0A
-  %09%09url: 'http://opensensemap.org:9000'%0A  %09%09//url: 'http://localhost:8000'%0A  %09%7D;%0A    
+%09%09%7D;%0A%09%09
 retu
@@ -368,10 +368,9 @@
 pi;%0A
-  
+%09
 %7D);%0A

use https api