@@ -5,7 +5,7 @@ ENV HOSTIP = 'http://192.168.1.70:8081/'
#拷贝源码
COPY . .
-RUN sed -i "s/SERVER_URL/$hostip/g" ./src/utils/configs.js
+# RUN sed -i "s/SERVER_URL/$hostip/g" ./src/utils/configs.js
#安装依赖
RUN npm install --registry=https://registry.npm.taobao.org
@@ -57,5 +57,5 @@ export const dataType = [
{ name: 'integer', needQuotation: false, availableFunc: ['sum', 'avg', 'max', 'min', 'count', 'none', 'custbiaozhun', 'custbianyi'] }
]
-export const SERVER_URL = 'SERVER_URL';
+export const SERVER_URL = 'http://192.168.1.70:8081/';
// export const SERVER_URL = 'http://192.168.1.70:8081/';