diff --git a/src/main/resources/static/frontend/Gruntfile.js b/src/main/resources/static/frontend/Gruntfile.js index 4c64287c53bf7cf4109b24553b1fd20a4660bef9..30004316faf44e4379d436283650199348ca30b8 100644 --- a/src/main/resources/static/frontend/Gruntfile.js +++ b/src/main/resources/static/frontend/Gruntfile.js @@ -90,7 +90,7 @@ module.exports = function (grunt) { options: { port: 9002, // Change this to '0.0.0.0' to access the server from outside. - hostname: '155.105.202.24', + hostname: '155.105.202.25', livereload: 35730 }, livereload: { @@ -333,7 +333,7 @@ module.exports = function (grunt) { }, dev: { constants: { - backendUrl: 'http://155.105.202.24:8080', + backendUrl: 'http://155.105.202.25:8080', backendExportChartUrl: '<%= ngconstant.dev.constants.backendUrl %>/exportingChart.php', dropboxAppkey: '7wew0rj0gh2qcik' } diff --git a/src/main/resources/static/frontend/app/scripts/app/app.config.js b/src/main/resources/static/frontend/app/scripts/app/app.config.js index 6a2ff8f234975f8cfbaff22280cf5d89e6a7b47c..c8e8fc70ff5b90260e5b5427e114475ea0367321 100644 --- a/src/main/resources/static/frontend/app/scripts/app/app.config.js +++ b/src/main/resources/static/frontend/app/scripts/app/app.config.js @@ -1,8 +1,8 @@ angular.module('app.config', []) -.constant('backendUrl', 'http://155.105.202.24:8080') +.constant('backendUrl', 'http://155.105.202.25:8080') -.constant('backendExportChartUrl', 'http://155.105.202.24:8080/exportingChart.php') +.constant('backendExportChartUrl', 'http://155.105.202.25:8080/exportingChart.php') .constant('dropboxAppkey', '7wew0rj0gh2qcik') diff --git a/src/main/resources/static/frontend/app/scripts/app/hbpapps/hbpapps.html b/src/main/resources/static/frontend/app/scripts/app/hbpapps/hbpapps.html index 4a436c60f708c2e809bcdf6d2104bbad31b90826..5d7857bfde93ca89e926f789a95a23831d73862e 100644 --- a/src/main/resources/static/frontend/app/scripts/app/hbpapps/hbpapps.html +++ b/src/main/resources/static/frontend/app/scripts/app/hbpapps/hbpapps.html @@ -1,6 +1,6 @@ <div id="accessDeniedPage" ng-show="!isLoggedIn()"> <h1>Are you lost ?</h1> - <p>Click <a href="http://155.105.202.24:8080/frontend/app/index.html#/login">here</a> </p> + <p>Click <a ng-href="{{backendUrl}}/frontend/app/index.html#/login">here</a> </p> </div> <div class="container-fluid mt" ng-show="isLoggedIn()"> diff --git a/src/main/resources/static/frontend/app/scripts/app/home/home.html b/src/main/resources/static/frontend/app/scripts/app/home/home.html index dbddd861515a1c2f39f79dc150bbe0454f1bf575..e57b09cf49ef59a7991abc2440bf3e09e6e5dc40 100644 --- a/src/main/resources/static/frontend/app/scripts/app/home/home.html +++ b/src/main/resources/static/frontend/app/scripts/app/home/home.html @@ -1,6 +1,6 @@ <div id="accessDeniedPage" ng-show="!isLoggedIn()"> <h1>Are you lost ?</h1> - <p>Click <a href="http://155.105.202.24:8080/frontend/app/index.html#/login">here</a> </p> + <p>Click <a ng-href="{{backendUrl}}/frontend/app/index.html#/login">here</a> </p> </div> <div class="container-fluid intro-container" ng-show="isNewVisitor() && isLoggedIn()"> diff --git a/src/main/resources/static/frontend/app/scripts/app/models/model.html b/src/main/resources/static/frontend/app/scripts/app/models/model.html index 805d40b63b55cbf04dcddaef8d7e5e22ed0546ee..4c03a207968ad5bdd1d234738a98e4c17d6de06d 100644 --- a/src/main/resources/static/frontend/app/scripts/app/models/model.html +++ b/src/main/resources/static/frontend/app/scripts/app/models/model.html @@ -1,6 +1,6 @@ <div id="accessDeniedPage" ng-show="!isLoggedIn()"> <h1>Are you lost ?</h1> - <p>Click <a href="http://155.105.202.24:8080/frontend/app/index.html#/login">here</a> </p> + <p>Click <a ng-href="{{backendUrl}}/frontend/app/index.html#/login">here</a> </p> </div> <div ng-show="isLoggedIn()"> diff --git a/src/main/resources/static/frontend/app/scripts/app/profile/profile.html b/src/main/resources/static/frontend/app/scripts/app/profile/profile.html index 30406e40292fc1291c3539b7321b6832d497518e..2deacdb78b48fe9039a1000c8d633214e06ddc59 100644 --- a/src/main/resources/static/frontend/app/scripts/app/profile/profile.html +++ b/src/main/resources/static/frontend/app/scripts/app/profile/profile.html @@ -1,6 +1,6 @@ <div id="accessDeniedPage" ng-show="!isLoggedIn()"> <h1>Are you lost ?</h1> - <p>Click <a href="http://155.105.202.24:8080/frontend/app/index.html#/login">here</a> </p> + <p>Click <a ng-href="{{backendUrl}}/frontend/app/index.html#/login">here</a> </p> </div> <div class="container-fluid mt" ng-show="isLoggedIn()">