FIX react build for production
This commit is contained in:
parent
a9cdf966f8
commit
7341be065c
|
@ -282,7 +282,7 @@
|
|||
"./static/js/98.4c2c8b49.chunk.js": "./static/js/98.4c2c8b49.chunk.js",
|
||||
"./static/js/99.4ecedbde.chunk.js": "./static/js/99.4ecedbde.chunk.js",
|
||||
"main.css": "./static/css/main.fd229636.css",
|
||||
"main.js": "./static/js/main.19b9fc67.js",
|
||||
"main.js": "./static/js/main.62f0e757.js",
|
||||
"static/media/KaTeX_AMS-Regular.ttf": "static/media/KaTeX_AMS-Regular.aaf4eee9.ttf",
|
||||
"static/media/KaTeX_AMS-Regular.woff": "static/media/KaTeX_AMS-Regular.7f06b4e3.woff",
|
||||
"static/media/KaTeX_AMS-Regular.woff2": "static/media/KaTeX_AMS-Regular.e78e28b4.woff2",
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
_host = 'https://ali-cdn.educoder.net/react/build/'
|
||||
}
|
||||
document.write('<script type="text/javascript" src="' + _host + 'js/js_min_all.js"><\/script>');
|
||||
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.19b9fc67.js"><\/script>');
|
||||
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.62f0e757.js"><\/script>');
|
||||
})()
|
||||
</script>
|
||||
<script>!function(){var t=location.href;"3007"===window.location.port?-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="https://newweb.educoder.net/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>'):-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')}()</script><script type="text/javascript" src="https://cdn.bootcss.com/quill/1.3.7/quill.core.min.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
|
@ -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'
|
Loading…
Reference in New Issue