Browse Source

修改hostname

bihuisong 5 months ago
parent
commit
6e910f7155
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zhjq-ui/src/views/system/voice/index.vue

+ 1 - 1
zhjq-ui/src/views/system/voice/index.vue

@@ -215,7 +215,7 @@ export default {
     getLocalIp() {
       const {hostname} = window.location;
       return hostname === 'localhost' || hostname === '127.0.0.1'
-        ? 'http://localhost'
+        ? 'http://192.168.4.9'
         : `http://${hostname}`;
     },
     getPort() {