Explorar o código

Return to public API

Use https://publish.lesprojekt.cz/nodejs/ for production again
jmacura %!s(int64=5) %!d(string=hai) anos
pai
achega
2b6b2cadf7
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/adjuster/adjuster.service.js

+ 3 - 3
src/adjuster/adjuster.service.js

@@ -10,9 +10,9 @@ export class AdjusterService {
     this.$rootScope = $rootScope;
     this.$http = $http;
     this.serviceBaseUrl =
-      //$location.host() === 'localhost'
-        'https://jmacura.ml/ws/';
-        //: 'https://publish.lesprojekt.cz/nodejs/';
+      $location.host() === 'localhost'
+        ? 'https://jmacura.ml/ws/'
+        : 'https://publish.lesprojekt.cz/nodejs/';
     this.factors = factors;
     this.clusters = [];
     this._clusteringInProcess = true;