FIX react build for production

This commit is contained in:
Jasder
2020-03-09 15:06:42 +08:00
parent a9cdf966f8
commit 7341be065c
4 changed files with 4 additions and 4 deletions
@@ -72577,7 +72577,7 @@ var proxy="http://localhost:3000";// proxy = "http://testbdweb.trustie.net"
//proxy="http://192.168.2.63:3001"
var//proxy = "http://localhost:3000"
// proxy="http://123.59.135.93:56666"
proxy="http://localhost:3000";// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
proxy="https://testforgeplus.trustie.net";// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
// 如果需要支持重复的请求,考虑config里面自定义一个allowRepeat参考来控制
var requestMap={};window.setfalseInRequestMap=function(keyName){requestMap[keyName]=false;};//响应前的设置
__WEBPACK_IMPORTED_MODULE_3_axios___default.a.interceptors.request.use(function(config){setpostcookie();clearAllCookie();// config.headers['Content-Type']= 'no-cache'