mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-16 23:18:56 +08:00
FIX react build for production
This commit is contained in:
+1
-1
@@ -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'
|
||||
Reference in New Issue
Block a user