jiangping
2024-09-25 9eee30e1fedbe9c19d593fcf9a82352fc7cdc4ec
h5/manifest.json
@@ -1,6 +1,6 @@
{
    "name" : "laborVisitors",
    "appid" : "__UNI__E9B0763",
    "appid" : "__UNI__BCCF400",
    "description" : "",
    "versionName" : "1.0.0",
    "versionCode" : "100",
@@ -81,7 +81,35 @@
    "h5" : {
        "router" : {
            "mode" : "hash",
            "base" : "/h5/"
            "base" : "./"
        },
        // "base" : "/h5/"
        "devServer" : {
            "port" : 8090,
            "historyApiFallback" : true,
            "disableHostCheck" : true,
            "proxy" : {
                "/admin_interface" : {
                    // 这个字段名需与你配置的basePrefixUrl一致,系统识别到带有/dev-api请求的地址时,会在前面拼接上代理服务器地址
                    // "target" : "http://172.20.10.7:10010", // 代理服务器域名或IP地址
                    "target" : "http://192.168.0.103:10010", // 代理服务器域名或IP地址
                    // "target" : "http://10.50.250.178:8088/gateway_interface", // 代理服务器域名或IP地址
                    "changeOrigin" : true, // 允许跨域
                    "pathRewrite" : {
                        "^/admin_interface" : ""
                    }
                }
            },
            "https" : false
        },
        "sdkConfigs" : {
            "maps" : {
                "amap" : {
                    "key" : "d9a554b1808ce10a12a932ed9b0db1d0",
                    "securityJsCode" : "",
                    "serviceHost" : ""
                }
            }
        }
    }
}