diff --git a/src/views/Info.vue b/src/views/Info.vue index 83f45bd7..65689e45 100644 --- a/src/views/Info.vue +++ b/src/views/Info.vue @@ -20,9 +20,9 @@ export default { }, mounted() { this.$http.get('/api/node_info', { crossdomain: true }).then(response => { - this.data.info = response.data + this.info = response.data }).catch(e => { - this.errors.push(e) + console.log(e) }) }, } diff --git a/vue.config.js b/vue.config.js index 7abe292e..bb7a4f76 100644 --- a/vue.config.js +++ b/vue.config.js @@ -46,8 +46,8 @@ module.exports = { transpileDependencies: ['vue-echarts', 'resize-detector'], devServer: { proxy: { - api: { - target: 'https://api.cosmos.network', + '/api': { + target: 'https://lcd-cosmos.cosmostation.io/', changeOrigin: true, pathRewrite: { '^/api': '',