|
|
@@ -1,3 +1,11 @@
|
|
|
+/*
|
|
|
+ * @Author: zhangsijie 1935241421@qq.com
|
|
|
+ * @Date: 2023-06-07 15:23:26
|
|
|
+ * @LastEditors: lin
|
|
|
+ * @LastEditTime: 2023-08-28 10:03:07
|
|
|
+ * @FilePath: \project\pingpu_vue\pingpu_vue\config\index.js
|
|
|
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
+ */
|
|
|
"use strict";
|
|
|
// Template version: 1.3.1
|
|
|
// see http://vuejs-templates.github.io/webpack for documentation.
|
|
|
@@ -11,8 +19,8 @@ module.exports = {
|
|
|
assetsPublicPath: "/",
|
|
|
proxyTable: {
|
|
|
"/api": {
|
|
|
- target: " http://106.119.196.18:10004", // 线上
|
|
|
- // target: 'http://192.168.1.52:10004',
|
|
|
+ // target: " http://106.119.196.18:10004", // 线上
|
|
|
+ target: 'http://192.168.1.52:10004',
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
"^/api": "/api" // 重写接口
|
|
|
@@ -31,7 +39,7 @@ module.exports = {
|
|
|
},
|
|
|
|
|
|
// Various Dev Server settings
|
|
|
- host: "192.168.1.106", // can be overwritten by process.env.HOST
|
|
|
+ host: "192.168.1.20", // can be overwritten by process.env.HOST
|
|
|
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
|
|
autoOpenBrowser: false,
|
|
|
errorOverlay: true,
|