From 4c2a7a56a0416c328b314c8ae6138a514edc26a5 Mon Sep 17 00:00:00 2001 From: Kiran <62351525+kiran-vsm@users.noreply.github.com> Date: Sat, 15 Aug 2020 01:37:30 +0530 Subject: [PATCH] update base API URL (#3251) update base api URL to new server https://demo.mifos.io --- Contributing.md | 2 +- Gruntfile.js | 2 +- README.md | 6 +++--- app/scripts/initialTasks.js | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Contributing.md b/Contributing.md index 0d583a3b..56ca0656 100644 --- a/Contributing.md +++ b/Contributing.md @@ -128,7 +128,7 @@ Our central development branch is `develop` , which should be clean and ready fo - If the PR is for solving some Issue related to UI, post 2 pictures, first picture containing the earlier UI and the second picture containing the updated UI. -- Include the URLs to the views that are effected by the PR. For example, if the PR has some improvements in the clients page, have the URL information as: https://demo.openmf.org/newbeta/#/clients +- Include the URLs to the views that are effected by the PR. For example, if the PR has some improvements in the clients page, have the URL information as: https://demo.mifos.io/newbeta/#/clients 5. Please ensure that the code you write is well-tested. diff --git a/Gruntfile.js b/Gruntfile.js index e605ebb0..9d7fe8c5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -52,7 +52,7 @@ module.exports = function(grunt) { port: 9002, hostname: 'localhost', livereload: 35729, - open:'http://<%= connect.options.hostname %>:<%= connect.options.port %>?baseApiUrl=https://demo.openmf.org' + open:'http://<%= connect.options.hostname %>:<%= connect.options.port %>?baseApiUrl=https://demo.mifos.io' }, livereload: { options: { diff --git a/README.md b/README.md index 44d98dda..1292085a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This is the default web application built on top of the MifosX platform for the ## Online Demo -Access the online demo version here +Access the online demo version here ## Building from source @@ -84,7 +84,7 @@ Edit the value of property "security" in = 0) { + if (mainLink.hostname.indexOf('mifos.io') >= 0) { var hostname = window.location.hostname; console.log('hostname---' + hostname); domains = hostname.split('.');