使用时光链端口8888,换掉6842.

This commit is contained in:
luk.lu
2018-12-24 22:51:59 +08:00
parent 01ca2042dd
commit eb0b985a9d
2 changed files with 2 additions and 2 deletions

View File

@@ -2,4 +2,4 @@
// import app from './app'
// 控制台应当默认访问控制台所在主机(localhost 或者 window.location.hostname)的 TIC后台或者让用户在控制台启动时自己设置一个节点主机。
axios.defaults.baseURL = `http://${window.location.hostname}:6842/api/`
axios.defaults.baseURL = `http://${window.location.hostname}:8888/api/`

View File

@@ -92,7 +92,7 @@ import io from 'socket.io-client'
const { mapState, mapGetters, mapActions, mapMutations } = createNamespacedHelpers('chain')
Vue.use(VueSocketio, io(`http://${window.location.hostname}:6842/api/`), store) // todo: luk: 整个控制台应当依赖于同一个全局的节点地址变量。
Vue.use(VueSocketio, io(`http://${window.location.hostname}:8888/api/`), store) // todo: luk: 整个控制台应当依赖于同一个全局的节点地址变量。
export default {
name: 'Chain',