diff --git a/config/dev.env.js b/config/dev.env.js index 51c99c2..99a7116 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -7,7 +7,7 @@ module.exports = merge(prodEnv, { // APIurl: '"https://cors-anywhere.herokuapp.com/https://www.gigsfor.me/_functions"', // APIurl: '"https://stg-api.gigsfor.me/api"', APIurl: '"https://stg-api.gigsfor.me/api"', - siteUrl: '"http://localhost:1500"', + siteUrl: '"http://134.209.156.59:8082"', imageUrl: '"https://stg-api.gigsfor.me/"', fileUploadKey: '"AYqgvDoo4RyBC0STV6og2z"', landbotUrl: '"https://landbot.io/u/H-347617-SIJESECF8DSSQ06L/index.html"', diff --git a/config/index.js b/config/index.js index 5c20dfa..6fa257b 100644 --- a/config/index.js +++ b/config/index.js @@ -13,8 +13,8 @@ module.exports = { proxyTable: {}, // Various Dev Server settings - host: 'localhost', // can be overwritten by process.env.HOST - port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined + host: '134.209.156.59', // can be overwritten by process.env.HOST + port: 8082, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: false, errorOverlay: true, notifyOnErrors: true, diff --git a/src/components/Profile.vue b/src/components/Profile.vue index 1b3fd0d..c25ea53 100644 --- a/src/components/Profile.vue +++ b/src/components/Profile.vue @@ -658,80 +658,10 @@ export default { this.getUserList(); this.getTemplateList(); this.getInsightList(); - // this.demo(); } }, methods: { - demo() { - var obj = { - responseMessage: "success", - callflowsDetails: { - metadata: { - "6f4f3ec8d8bd0d169a33cdeb49c005d4": { - name: "neeraj.sharma@viithiisys.com", - pvt_type: "faxbox", - }, - "1968018a933a6ce069b583f2dfe0d91b": { - name: "Rohit Saini", - pvt_type: "user", - }, - "48f409d64c69b52dbe114b86ee4579ea": { - name: "hello", - pvt_type: "device", - }, - }, - patterns: [], - numbers: ["+9876541023"], - id: "2360eb2f7dc04994382ab58fe48da46c", - ui_metadata: { - ui: "monster-ui", - origin: "callflows", - version: "4.3-139", - }, - flow: { - data: { - dial_strategy: "simultaneous", - delay: 0, - can_call_self: false, - id: "48f409d64c69b52dbe114b86ee4579ea", - timeout: 20, - }, - children: { - _: { - data: { id: "6f4f3ec8d8bd0d169a33cdeb49c005d4" }, - children: { - _: { - data: { - owner_id: "1968018a933a6ce069b583f2dfe0d91b", - media: { fax_option: false }, - }, - children: {}, - module: "receive_fax", - }, - }, - module: "faxbox", - }, - }, - module: "device", - }, - }, - }; - var string = JSON.stringify(obj); - var count = string.match(/children/gi).length; - var array = []; - var name = []; - for (var i = 0; i < count - 1; i++) { - name = name + "children"; - var value = JSON.parse(string); - // console.log("-1-",name); - console.log("-1-", value.callflowsDetails.flow[name]); - console.log("-2-", value.callflowsDetails.flow[name]["_"][name]); - console.log( - "-3-", - value.callflowsDetails.flow[name]["_"][name]["_"][name] - ); - } - }, + changeIntroScreen(){ }, diff --git a/src/main.js b/src/main.js index 41780a5..eaf4724 100644 --- a/src/main.js +++ b/src/main.js @@ -38,10 +38,11 @@ Vue.use(Auth0Plugin, { Vue.config.productionTip = false // https://api.productgrowth.org/pg // http://174.138.121.70:3006/pg -// http://174.138.121.70:3006/pd +// http://productgrowth.vizitorapp.com/pg +// http://0.0.0.0:3000/pg Vue.prototype.moment = moment -axios.defaults.baseURL = 'http://0.0.0.0:3000/pg' +axios.defaults.baseURL = 'http://productgrowth.vizitorapp.com/pg' /* eslint-disable no-new */ new Vue({