xujunjie 1 éve
szülő
commit
e32ff97f92
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/pages/Home/index.js

+ 1 - 1
src/pages/Home/index.js

@@ -221,7 +221,7 @@ const Scada = () => {
   const { data } = useRequest(getScadaPage, {
     defaultParams: [{ project_id: projectId }],
     formatResult: (res) => {
-      let domain = location.host.includes('120.55.44.4')
+      let domain = location.host.includes('pad.greentech.com.cn')
         ? 'http://120.55.44.4:8900/'
         : 'http://47.96.12.136:8788/';
       const token = getToken();