|
|
|
@ -221,12 +221,12 @@ function generateNewIndexJsp() {
|
|
|
|
|
// <script type="text/javascript" src="/js/js_min_all.js"></script>
|
|
|
|
|
var result = data
|
|
|
|
|
.replace(jsMinAllRegex, code)
|
|
|
|
|
.replace(flvMinAllRegex)
|
|
|
|
|
// .replace('/js/js_min_all.js', `${cdnHost}/react/build/js/js_min_all.js?v=${newVersion}`)
|
|
|
|
|
// .replace('/js/js_min_all_2.js', `${cdnHost}/react/build/js/js_min_all_2.js?v=${newVersion}`)
|
|
|
|
|
|
|
|
|
|
// ${cdnHost} 加了cdn后,这个文件里的字体文件加载会有跨域的报错 ../fonts/fontawesome-webfont.eot
|
|
|
|
|
// TODO tpi 评测结果关闭也使用了fontawesome
|
|
|
|
|
.replace(flvMinAllRegex,``)
|
|
|
|
|
.replace('/css/css_min_all.css', `${cdnHost}/react/build/css/css_min_all.css?v=${newVersion}`)
|
|
|
|
|
.replace('/css/iconfont.css', `${cdnHost}/react/build/css/iconfont.css?v=${newVersion}`)
|
|
|
|
|
.replace(/\/js\/create_kindeditor.js/g, `${cdnHost}/react/build/js/create_kindeditor.js?v=${newVersion}`)
|
|
|
|
|