bls-dan 2 years ago
parent
commit
2a13928c43
3 changed files with 7 additions and 4 deletions
  1. 5 2
      .env.production
  2. 1 1
      src/pages/store/index.ts
  3. 1 1
      src/pages/views/home/components/HomePage.vue

+ 5 - 2
.env.production

@@ -1,3 +1,6 @@
-VITE_SERVER_URL=https://jkbj.scrbg.com:5013
-VITE_SOCKET_API=ws://55p9w6.natappfree.cc/websocket
+# VITE_SERVER_URL=https://jkbj.scrbg.com:5013
+# VITE_SOCKET_API=ws://55p9w6.natappfree.cc/websocket
+
+VITE_SERVER_URL=http://47.122.23.74:9090/api
+VITE_SOCKET_API=ws://47.122.23.74:9001/websocket
 # VITE_SERVER_URL=https://eas.any8.cc:8010
 # VITE_SERVER_URL=https://eas.any8.cc:8010

+ 1 - 1
src/pages/store/index.ts

@@ -19,7 +19,7 @@ export interface Weather {
 const useStore = defineStore('index', {
 const useStore = defineStore('index', {
   state: () => ({
   state: () => ({
     userInfro: {} as UserInfo,
     userInfro: {} as UserInfo,
-    token: '15be1cd93ac64d32aa78db7f41ef60f4',
+    token: '265c2beaa547435a959af0aa563780d3',
     loading: false,
     loading: false,
     weather: {} as Weather,
     weather: {} as Weather,
     weatherIcons: [
     weatherIcons: [

+ 1 - 1
src/pages/views/home/components/HomePage.vue

@@ -386,7 +386,7 @@ const datas = [
   }
   }
 ]
 ]
 
 
-const leftContent = ref({
+const leftContent:any = ref({
   topCount: [
   topCount: [
     [
     [
       {
       {