修改了axios和socket接口地址
This commit is contained in:
@@ -89,10 +89,10 @@ import Vue from 'vue'
|
||||
import store from '../store'
|
||||
import VueSocketio from 'vue-socket.io'
|
||||
import io from 'socket.io-client'
|
||||
import axios from 'axios'
|
||||
// import axios from 'axios'
|
||||
|
||||
const { mapState, mapGetters, mapActions, mapMutations } = createNamespacedHelpers('chain')
|
||||
const socketUrl = 'ws://test-us.bittic.net:8888'
|
||||
const socketUrl = 'ws://localhost:8888'
|
||||
|
||||
Vue.use(VueSocketio, io(socketUrl), store)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user