404错误修改2

forge
sylor_huang@126.com 5 years ago
parent 001b23dfd8
commit 385026c641

@ -92,7 +92,7 @@
"./static/js/18.bc842084.chunk.js": "./static/js/18.bc842084.chunk.js",
"./static/js/180.9c7901de.chunk.js": "./static/js/180.9c7901de.chunk.js",
"./static/js/181.32ab74d1.chunk.js": "./static/js/181.32ab74d1.chunk.js",
"./static/js/182.df1f453d.chunk.js": "./static/js/182.df1f453d.chunk.js",
"./static/js/182.5696860c.chunk.js": "./static/js/182.5696860c.chunk.js",
"./static/js/183.63280af3.chunk.js": "./static/js/183.63280af3.chunk.js",
"./static/js/184.d0035463.chunk.js": "./static/js/184.d0035463.chunk.js",
"./static/js/185.acfc5c9d.chunk.js": "./static/js/185.acfc5c9d.chunk.js",
@ -221,7 +221,7 @@
"./static/js/50.49a23628.chunk.js": "./static/js/50.49a23628.chunk.js",
"./static/js/51.4eb1ce58.chunk.js": "./static/js/51.4eb1ce58.chunk.js",
"./static/js/52.812d20af.chunk.js": "./static/js/52.812d20af.chunk.js",
"./static/js/53.644217d7.chunk.js": "./static/js/53.644217d7.chunk.js",
"./static/js/53.5846d341.chunk.js": "./static/js/53.5846d341.chunk.js",
"./static/js/54.483cf5f7.chunk.js": "./static/js/54.483cf5f7.chunk.js",
"./static/js/55.0797a4e0.chunk.js": "./static/js/55.0797a4e0.chunk.js",
"./static/js/56.ad4329f0.chunk.js": "./static/js/56.ad4329f0.chunk.js",
@ -273,7 +273,7 @@
"./static/js/98.92e47c1c.chunk.js": "./static/js/98.92e47c1c.chunk.js",
"./static/js/99.f1a59e21.chunk.js": "./static/js/99.f1a59e21.chunk.js",
"main.css": "./static/css/main.c0718fb6.css",
"main.js": "./static/js/main.24cb0f39.js",
"main.js": "./static/js/main.3f842407.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.24cb0f39.js"><\/script>');
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.3f842407.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

@ -115,7 +115,7 @@ var VersionIndex=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:
* permissionManager:管理员Reporter报告人员(只有读取权限)Developer开发人员除不能设置仓库信息外
*/var Detail=function(_Component){_inherits(Detail,_Component);function Detail(props){_classCallCheck(this,Detail);var _this=_possibleConstructorReturn(this,(Detail.__proto__||Object.getPrototypeOf(Detail)).call(this,props));_this.getUserInfo=function(){var url='/users/me.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(url).then(function(result){if(result&&result.data.login){_this.setState({current_user:result.data});_this.getDetail();}}).catch(function(error){console.log(error);});};_this.componentDidMount=function(){// this.getUserInfo();
_this.getDetail();};_this.getDetail=function(){// const { state } = this.props.history.location;
var current_user=_this.props.current_user;var projectsId=_this.props.match.params.projectsId;var url='/'+current_user.login+'/'+projectsId+'.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(url).then(function(result){if(result){_this.setState({projectDetail:result.data,project_id:result.data.project_id,isManager:result.data.permission&&result.data.permission==="Manager",isReporter:result.data.permission&&result.data.permission==="Reporter",isDeveloper:result.data.permission&&result.data.permission==="Developer",http_url:result.data.clone_url,author:result.data.author,watchers_count:result.data.watchers_count,praises_count:result.data.praises_count,forked_count:result.data.forked_count});if(result.data.project_id){_this.getBranch(result.data.project_id);}}}).catch(function(error){});};_this.focusFunc=function(flag){var project_id=_this.state.project_id;if(!flag){var url='/projects/'+project_id+'/watchers/follow.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.post(url).then(function(result){if(result){_this.props.showNotification('关注成功');_this.getDetail();}}).catch(function(error){console.log(error);});}else{var _url='/projects/'+project_id+'/watchers/unfollow.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.delete(_url).then(function(result){if(result){_this.props.showNotification('取消关注成功');_this.getDetail();}}).catch(function(error){console.log(error);});}};_this.pariseFunc=function(flag){var project_id=_this.state.project_id;if(!flag){var url='/projects/'+project_id+'/praise_tread/like.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.post(url).then(function(result){if(result){_this.props.showNotification('点赞成功');_this.getDetail();}}).catch(function(error){console.log(error);});}else{var _url2='/projects/'+project_id+'/praise_tread/unlike.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.delete(_url2).then(function(result){if(result){_this.props.showNotification('取消点赞成功');_this.getDetail();}}).catch(function(error){console.log(error);});}};_this.forkFunc=function(){var project_id=_this.state.project_id;var url='/projects/'+project_id+'/forks.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.post(url).then(function(result){if(result&&result.data.status===0){_this.props.history.push('/projects/'+result.data.identifier+'/coder');}else{_this.props.showNotification(result.data.message);}}).catch(function(error){console.log(error);});};_this.getBranch=function(id){var url='/projects/'+id+'/branches.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(url).then(function(result){if(result&&result.data.length>0){var branchs=[];result.data.map(function(item,key){branchs.push({index:key,name:item.name});});_this.setState({branchList:result.data,branchs:branchs,branchLastCommit:result.data[0]// http_url:result.data[0].http_url
var current_user=_this.props.current_user;var projectsId=_this.props.match.params.projectsId;var url='/'+(current_user&&current_user.login)+'/'+projectsId+'.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(url).then(function(result){if(result){_this.setState({projectDetail:result.data,project_id:result.data.project_id,isManager:result.data.permission&&result.data.permission==="Manager",isReporter:result.data.permission&&result.data.permission==="Reporter",isDeveloper:result.data.permission&&result.data.permission==="Developer",http_url:result.data.clone_url,author:result.data.author,watchers_count:result.data.watchers_count,praises_count:result.data.praises_count,forked_count:result.data.forked_count});if(result.data.project_id){_this.getBranch(result.data.project_id);}}}).catch(function(error){});};_this.focusFunc=function(flag){var project_id=_this.state.project_id;if(!flag){var url='/projects/'+project_id+'/watchers/follow.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.post(url).then(function(result){if(result){_this.props.showNotification('关注成功');_this.getDetail();}}).catch(function(error){console.log(error);});}else{var _url='/projects/'+project_id+'/watchers/unfollow.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.delete(_url).then(function(result){if(result){_this.props.showNotification('取消关注成功');_this.getDetail();}}).catch(function(error){console.log(error);});}};_this.pariseFunc=function(flag){var project_id=_this.state.project_id;if(!flag){var url='/projects/'+project_id+'/praise_tread/like.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.post(url).then(function(result){if(result){_this.props.showNotification('点赞成功');_this.getDetail();}}).catch(function(error){console.log(error);});}else{var _url2='/projects/'+project_id+'/praise_tread/unlike.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.delete(_url2).then(function(result){if(result){_this.props.showNotification('取消点赞成功');_this.getDetail();}}).catch(function(error){console.log(error);});}};_this.forkFunc=function(){var project_id=_this.state.project_id;var url='/projects/'+project_id+'/forks.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.post(url).then(function(result){if(result&&result.data.status===0){_this.props.history.push('/projects/'+result.data.identifier+'/coder');}else{_this.props.showNotification(result.data.message);}}).catch(function(error){console.log(error);});};_this.getBranch=function(id){var url='/projects/'+id+'/branches.json';__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(url).then(function(result){if(result&&result.data.length>0){var branchs=[];result.data.map(function(item,key){branchs.push({index:key,name:item.name});});_this.setState({branchList:result.data,branchs:branchs,branchLastCommit:result.data[0]// http_url:result.data[0].http_url
});}}).catch(function(error){});};_this.state={projectDetail:undefined,isManager:false,isReporter:false,isDeveloper:false,project_id:undefined,watchers_count:undefined,praises_count:undefined,forked_count:undefined,http_url:undefined,author:undefined,branchs:undefined,branchList:undefined,branchLastCommit:undefined};return _this;}// componentDidUpdate=(provState)=>{
// if(provState.match.params.projectsId !== this.props.match.params.projectsId){
// this.getDetail();

@ -86755,7 +86755,7 @@ var _createClass=function(){function defineProperties(target,props){for(var i=0;
* filePath:点击目录时当前目录的路径
* subfileType:保存当前点击目录的文件类型显示目录列表时才显示新建文件如果点击的是文件就不显示新建文件按钮
* readMeContent:根目录下面的readme文件内容
*/var CoderRootDirectory=function(_Component){_inherits(CoderRootDirectory,_Component);function CoderRootDirectory(props){_classCallCheck(this,CoderRootDirectory);var _this=_possibleConstructorReturn(this,(CoderRootDirectory.__proto__||Object.getPrototypeOf(CoderRootDirectory)).call(this,props));_this.changeAddress=function(address){_this.setState({address:address});};_this.componentDidMount=function(){var search=_this.props.history.location.search;var branchName=undefined;if(search&&search.indexOf("branch")>-1){branchName=search.split("=")[1];_this.setState({branch:branchName});}var branch=_this.state.branch;_this.getProjectRoot(branchName||branch);};_this.getProjectRoot=function(branch){var current_user=_this.props.current_user;var projectsId=_this.props.match.params.projectsId;var state=_this.props.history.location.state;console.log(_this.props);var url='/'+state+'/'+projectsId+'/entries.json';__WEBPACK_IMPORTED_MODULE_14_axios___default.a.get(url,{params:{branch:branch}}).then(function(result){if(result){if(result&&result.data&&result.data.length>0){_this.setState({filePath:[],fileDetail:undefined,isSpin:false});_this.renderData(result.data);}_this.setState({rootData:result.data});}}).catch(function(error){});};_this.ChangeFile=function(arr,index){_this.renderUrl(arr.name,arr.path,arr.type);_this.getFileDetail(arr);_this.setState({subFileType:arr.type});};_this.renderUrl=function(name,path,type){var list=[];var filePath=_this.state.filePath;if(path.indexOf("/")){var array=path.split("/");var str="";array.map(function(i,k){str+='/'+i;return list.push({index:k,name:i,path:str.substr(1),type:filePath&&filePath.length>0?filePath[k]?filePath[k].type:type:type});});}else{list.push({index:0,name:name,path:path,type:type});}_this.setState({filePath:list});};_this.getFileDetail=function(arr){var current_user=_this.props.current_user;var projectsId=_this.props.match.params.projectsId;var branch=_this.state.branch;var state=_this.props.history.location.state;var url='/'+state+'/'+projectsId+'/sub_entries.json';__WEBPACK_IMPORTED_MODULE_14_axios___default.a.get(url,{params:{filepath:arr.path,ref:branch}}).then(function(result){if(result&&result.data&&result.data.length>0){if(arr.type==="file"){_this.setState({fileDetail:result.data[0],rootList:undefined});}else{_this.setState({fileDetail:undefined});_this.renderData(result.data);}}}).catch(function(error){console.log(error);});};_this.renderData=function(data){var rootList=[];var readMeContent=[];data&&data.map(function(item,key){rootList.push(Object.assign({key:key},item));if(item.name==='README.md'){readMeContent.push(Object.assign({},item));}});_this.setState({rootList:rootList,readMeContent:readMeContent});};_this.renderReadMeContent=function(readMeContent){var fileDetail=_this.state.fileDetail;if(fileDetail){return;}if(readMeContent&&readMeContent.length>0){return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'commonBox'},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'commonBox-title'},readMeContent[0].name),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'commonBox-info'},readMeContent[0].content?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:"markdown-body",dangerouslySetInnerHTML:{__html:Object(__WEBPACK_IMPORTED_MODULE_5_educoder__["X" /* markdownToHTML */])(readMeContent[0].content).replace(/▁/g,"▁▁▁")}}):__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('span',null,'\u6682\u65E0~')));}};_this.changeBranch=function(value){var branchList=_this.props.branchList;var branchLastCommit=branchList&&branchList.length>0&&branchList[parseInt(value.key)];_this.setState({branch:branchLastCommit.name,branchLastCommit:branchLastCommit,http_url:branchLastCommit.http_url,isSpin:true});_this.getProjectRoot(branchLastCommit.name);};_this.state={address:"http",branch:"master",filePath:[],http_url:undefined,subFileType:"",readMeContent:undefined,isSpin:true,branchList:undefined,fileDetail:undefined,branchLastCommit:undefined,current_user:undefined,rootData:undefined};return _this;}// 获取根目录
*/var CoderRootDirectory=function(_Component){_inherits(CoderRootDirectory,_Component);function CoderRootDirectory(props){_classCallCheck(this,CoderRootDirectory);var _this=_possibleConstructorReturn(this,(CoderRootDirectory.__proto__||Object.getPrototypeOf(CoderRootDirectory)).call(this,props));_this.changeAddress=function(address){_this.setState({address:address});};_this.componentDidMount=function(){var search=_this.props.history.location.search;var branchName=undefined;if(search&&search.indexOf("branch")>-1){branchName=search.split("=")[1];_this.setState({branch:branchName});}var branch=_this.state.branch;_this.getProjectRoot(branchName||branch);};_this.getProjectRoot=function(branch){var current_user=_this.props.current_user;var projectsId=_this.props.match.params.projectsId;var state=_this.props.history.location.state;console.log(_this.props);var url='/'+(current_user&&current_user.login)+'/'+projectsId+'/entries.json';__WEBPACK_IMPORTED_MODULE_14_axios___default.a.get(url,{params:{branch:branch}}).then(function(result){if(result){if(result&&result.data&&result.data.length>0){_this.setState({filePath:[],fileDetail:undefined,isSpin:false});_this.renderData(result.data);}_this.setState({rootData:result.data});}}).catch(function(error){});};_this.ChangeFile=function(arr,index){_this.renderUrl(arr.name,arr.path,arr.type);_this.getFileDetail(arr);_this.setState({subFileType:arr.type});};_this.renderUrl=function(name,path,type){var list=[];var filePath=_this.state.filePath;if(path.indexOf("/")){var array=path.split("/");var str="";array.map(function(i,k){str+='/'+i;return list.push({index:k,name:i,path:str.substr(1),type:filePath&&filePath.length>0?filePath[k]?filePath[k].type:type:type});});}else{list.push({index:0,name:name,path:path,type:type});}_this.setState({filePath:list});};_this.getFileDetail=function(arr){var current_user=_this.props.current_user;var projectsId=_this.props.match.params.projectsId;var branch=_this.state.branch;var state=_this.props.history.location.state;var url='/'+(current_user&&current_user.login)+'/'+projectsId+'/sub_entries.json';__WEBPACK_IMPORTED_MODULE_14_axios___default.a.get(url,{params:{filepath:arr.path,ref:branch}}).then(function(result){if(result&&result.data&&result.data.length>0){if(arr.type==="file"){_this.setState({fileDetail:result.data[0],rootList:undefined});}else{_this.setState({fileDetail:undefined});_this.renderData(result.data);}}}).catch(function(error){console.log(error);});};_this.renderData=function(data){var rootList=[];var readMeContent=[];data&&data.map(function(item,key){rootList.push(Object.assign({key:key},item));if(item.name==='README.md'){readMeContent.push(Object.assign({},item));}});_this.setState({rootList:rootList,readMeContent:readMeContent});};_this.renderReadMeContent=function(readMeContent){var fileDetail=_this.state.fileDetail;if(fileDetail){return;}if(readMeContent&&readMeContent.length>0){return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'commonBox'},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'commonBox-title'},readMeContent[0].name),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'commonBox-info'},readMeContent[0].content?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:"markdown-body",dangerouslySetInnerHTML:{__html:Object(__WEBPACK_IMPORTED_MODULE_5_educoder__["X" /* markdownToHTML */])(readMeContent[0].content).replace(/▁/g,"▁▁▁")}}):__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('span',null,'\u6682\u65E0~')));}};_this.changeBranch=function(value){var branchList=_this.props.branchList;var branchLastCommit=branchList&&branchList.length>0&&branchList[parseInt(value.key)];_this.setState({branch:branchLastCommit.name,branchLastCommit:branchLastCommit,http_url:branchLastCommit.http_url,isSpin:true});_this.getProjectRoot(branchLastCommit.name);};_this.state={address:"http",branch:"master",filePath:[],http_url:undefined,subFileType:"",readMeContent:undefined,isSpin:true,branchList:undefined,fileDetail:undefined,branchLastCommit:undefined,current_user:undefined,rootData:undefined};return _this;}// 获取根目录
// 获取子目录
// readme文件内容
// 选择分支

@ -86,7 +86,7 @@
/******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = __webpack_require__.p + "./static/js/" + ({}[chunkId]||chunkId) + "." + {"0":"32f86ba0","1":"9befcc1f","2":"91181422","3":"3a1b0517","4":"f8c8ee32","5":"db442110","6":"064b97d2","7":"1b48efb3","8":"ead37a1b","9":"212b659d","10":"e6f0d5df","11":"272a0813","12":"fb20694d","13":"2a74a189","14":"3129051e","15":"044bdca2","16":"607025a2","17":"f3a77daf","18":"bc842084","19":"9fb55eb5","20":"8e6c9998","21":"397df705","22":"0f78393a","23":"f50ff0ed","24":"34dfd496","25":"678451bf","26":"f5580503","27":"fc19bbe9","28":"d7556191","29":"126bd10b","30":"54f7104f","31":"37c141c0","32":"fedb209c","33":"100ad33d","34":"ad397283","35":"32a9f338","36":"cc9fadd2","37":"f93f5966","38":"9a288fc5","39":"e36275c9","40":"a2782e03","41":"ec116e1a","42":"dbcf1df2","43":"4cdbff5f","44":"9be18220","45":"7b58fdd3","46":"c1e7062a","47":"9301a210","48":"5417c295","49":"a66e9054","50":"49a23628","51":"4eb1ce58","52":"812d20af","53":"644217d7","54":"483cf5f7","55":"0797a4e0","56":"ad4329f0","57":"9871c9a5","58":"66e239b0","59":"615b4ba9","60":"3fe33a42","61":"6434bc4d","62":"88296aa0","63":"621172ab","64":"170ab7a8","65":"1829b1a8","66":"5911351a","67":"94bc3295","68":"792bbdc2","69":"225cc0f5","70":"adb8d0da","71":"ceb703db","72":"2ffeb57f","73":"a81efe47","74":"cfa0f703","75":"385cc133","76":"5a64bd52","77":"40dc0cf0","78":"2a0a496c","79":"de080f3a","80":"625007b9","81":"c2fc7f34","82":"3f3fb911","83":"43c46839","84":"4ea604a6","85":"24228f39","86":"91367549","87":"36950761","88":"4e63f179","89":"3ccf3e47","90":"6024df9d","91":"c3008772","92":"ab737e6f","93":"f2bbfa4d","94":"cfa6d8de","95":"25205199","96":"f58b38f5","97":"250cea14","98":"92e47c1c","99":"f1a59e21","100":"8ee5edf4","101":"f4fe4e79","102":"69a7bc5c","103":"152cfdea","104":"7a114da6","105":"1c077c1d","106":"e6e846ef","107":"8c650167","108":"a45e0b1e","109":"41a33a1a","110":"057de435","111":"48228f82","112":"7c9cd1c1","113":"fd49f1f1","114":"c6a6e101","115":"a12fef6d","116":"574db64b","117":"5acf3184","118":"99fc080c","119":"cb63073c","120":"1df9dd9f","121":"3b8227c6","122":"882e31f8","123":"8c68d28a","124":"408ebb33","125":"5a0075af","126":"5f74fc9a","127":"235b5862","128":"477c79f8","129":"1175e25e","130":"5af2206c","131":"119512f3","132":"36844213","133":"7f7f7c40","134":"0a954a4a","135":"0338886b","136":"9cd53ce0","137":"689cbd5d","138":"681f35ce","139":"80419667","140":"aee26025","141":"09f4d1b2","142":"bcafddbd","143":"cb69da0b","144":"34ac3654","145":"f92c8ac0","146":"8c09576f","147":"b1b48fca","148":"20eceec1","149":"96790f46","150":"2d8568a9","151":"9b55bafe","152":"235dc8d0","153":"b8529acb","154":"6661c864","155":"5cf9f404","156":"4bfb8625","157":"d0788917","158":"fdaa8652","159":"d3fe57a9","160":"d9c39bd5","161":"1289bb4c","162":"b476086f","163":"76998e2c","164":"47876363","165":"7c54d354","166":"af8e3af9","167":"7a30e1c2","168":"471f4346","169":"570f0555","170":"efb23b4c","171":"a04a7d6b","172":"3f0e7b46","173":"801a7006","174":"3ce7c837","175":"e718c801","176":"9e226038","177":"de58a2ab","178":"e41d6fc9","179":"d9a714d5","180":"9c7901de","181":"32ab74d1","182":"df1f453d","183":"63280af3","184":"d0035463","185":"acfc5c9d","186":"6fbd2f8a","187":"73a82b81","188":"3f8d93ac","189":"779864de","190":"524ed7e4","191":"11223317","192":"1f0ecd8d","193":"467554a4","194":"85e01bc5","195":"c3d92d8d","196":"2bed9c77","197":"73a75b07","198":"5b79a67a","199":"75daf23b","200":"7bea6b93","201":"887ac622","202":"0747f472","203":"319c605d","204":"b952bc90","205":"74226ccb","206":"9a77ec55","207":"aa11546d","208":"0311749a","209":"f8673a70","210":"e293a6c2","211":"122a95b5","212":"7c7f2c09","213":"c2194024","214":"2abff5c6","215":"ed2ba55f","216":"412b39ea","217":"bb69a91b","218":"959d2d92","219":"ea1571db","220":"476d3205","221":"70a965d5","222":"3ef33f8f","223":"8d635e59","224":"92df6615","225":"42ebc3fc","226":"009659c8","227":"1cd231d1","228":"9c0969be","229":"9150babf","230":"9bda9379","231":"8d16ba48","232":"ad4c8e76","233":"46a6a290","234":"b38fe790","235":"e026c583","236":"51e02191","237":"fc17182c","238":"cf33826a","239":"6e3fd6a7","240":"375a94a5","241":"a4ad5668","242":"3f703305","243":"0537446d","244":"3b9fda4a","245":"252c1f90","246":"95139bd1","247":"67155b66","248":"15c9028d","249":"251f9a9c","250":"4d28c8c4","251":"48dd3249","252":"5cead067","253":"a38088fa","254":"82920ffa","255":"5ca9976c","256":"01157ff4","257":"53934360","258":"41e7722d","259":"bec5cf59","260":"2008c623","261":"d2ddfd76","262":"60bc5846","263":"e9c72927","264":"545e8a7f","265":"af8eb09e","266":"2afc190b","267":"fb8fdd79","268":"d16ddbae","269":"69226c95","270":"23c1612b","271":"8d6b6380","272":"745f6b8b"}[chunkId] + ".chunk.js";
/******/ script.src = __webpack_require__.p + "./static/js/" + ({}[chunkId]||chunkId) + "." + {"0":"32f86ba0","1":"9befcc1f","2":"91181422","3":"3a1b0517","4":"f8c8ee32","5":"db442110","6":"064b97d2","7":"1b48efb3","8":"ead37a1b","9":"212b659d","10":"e6f0d5df","11":"272a0813","12":"fb20694d","13":"2a74a189","14":"3129051e","15":"044bdca2","16":"607025a2","17":"f3a77daf","18":"bc842084","19":"9fb55eb5","20":"8e6c9998","21":"397df705","22":"0f78393a","23":"f50ff0ed","24":"34dfd496","25":"678451bf","26":"f5580503","27":"fc19bbe9","28":"d7556191","29":"126bd10b","30":"54f7104f","31":"37c141c0","32":"fedb209c","33":"100ad33d","34":"ad397283","35":"32a9f338","36":"cc9fadd2","37":"f93f5966","38":"9a288fc5","39":"e36275c9","40":"a2782e03","41":"ec116e1a","42":"dbcf1df2","43":"4cdbff5f","44":"9be18220","45":"7b58fdd3","46":"c1e7062a","47":"9301a210","48":"5417c295","49":"a66e9054","50":"49a23628","51":"4eb1ce58","52":"812d20af","53":"5846d341","54":"483cf5f7","55":"0797a4e0","56":"ad4329f0","57":"9871c9a5","58":"66e239b0","59":"615b4ba9","60":"3fe33a42","61":"6434bc4d","62":"88296aa0","63":"621172ab","64":"170ab7a8","65":"1829b1a8","66":"5911351a","67":"94bc3295","68":"792bbdc2","69":"225cc0f5","70":"adb8d0da","71":"ceb703db","72":"2ffeb57f","73":"a81efe47","74":"cfa0f703","75":"385cc133","76":"5a64bd52","77":"40dc0cf0","78":"2a0a496c","79":"de080f3a","80":"625007b9","81":"c2fc7f34","82":"3f3fb911","83":"43c46839","84":"4ea604a6","85":"24228f39","86":"91367549","87":"36950761","88":"4e63f179","89":"3ccf3e47","90":"6024df9d","91":"c3008772","92":"ab737e6f","93":"f2bbfa4d","94":"cfa6d8de","95":"25205199","96":"f58b38f5","97":"250cea14","98":"92e47c1c","99":"f1a59e21","100":"8ee5edf4","101":"f4fe4e79","102":"69a7bc5c","103":"152cfdea","104":"7a114da6","105":"1c077c1d","106":"e6e846ef","107":"8c650167","108":"a45e0b1e","109":"41a33a1a","110":"057de435","111":"48228f82","112":"7c9cd1c1","113":"fd49f1f1","114":"c6a6e101","115":"a12fef6d","116":"574db64b","117":"5acf3184","118":"99fc080c","119":"cb63073c","120":"1df9dd9f","121":"3b8227c6","122":"882e31f8","123":"8c68d28a","124":"408ebb33","125":"5a0075af","126":"5f74fc9a","127":"235b5862","128":"477c79f8","129":"1175e25e","130":"5af2206c","131":"119512f3","132":"36844213","133":"7f7f7c40","134":"0a954a4a","135":"0338886b","136":"9cd53ce0","137":"689cbd5d","138":"681f35ce","139":"80419667","140":"aee26025","141":"09f4d1b2","142":"bcafddbd","143":"cb69da0b","144":"34ac3654","145":"f92c8ac0","146":"8c09576f","147":"b1b48fca","148":"20eceec1","149":"96790f46","150":"2d8568a9","151":"9b55bafe","152":"235dc8d0","153":"b8529acb","154":"6661c864","155":"5cf9f404","156":"4bfb8625","157":"d0788917","158":"fdaa8652","159":"d3fe57a9","160":"d9c39bd5","161":"1289bb4c","162":"b476086f","163":"76998e2c","164":"47876363","165":"7c54d354","166":"af8e3af9","167":"7a30e1c2","168":"471f4346","169":"570f0555","170":"efb23b4c","171":"a04a7d6b","172":"3f0e7b46","173":"801a7006","174":"3ce7c837","175":"e718c801","176":"9e226038","177":"de58a2ab","178":"e41d6fc9","179":"d9a714d5","180":"9c7901de","181":"32ab74d1","182":"5696860c","183":"63280af3","184":"d0035463","185":"acfc5c9d","186":"6fbd2f8a","187":"73a82b81","188":"3f8d93ac","189":"779864de","190":"524ed7e4","191":"11223317","192":"1f0ecd8d","193":"467554a4","194":"85e01bc5","195":"c3d92d8d","196":"2bed9c77","197":"73a75b07","198":"5b79a67a","199":"75daf23b","200":"7bea6b93","201":"887ac622","202":"0747f472","203":"319c605d","204":"b952bc90","205":"74226ccb","206":"9a77ec55","207":"aa11546d","208":"0311749a","209":"f8673a70","210":"e293a6c2","211":"122a95b5","212":"7c7f2c09","213":"c2194024","214":"2abff5c6","215":"ed2ba55f","216":"412b39ea","217":"bb69a91b","218":"959d2d92","219":"ea1571db","220":"476d3205","221":"70a965d5","222":"3ef33f8f","223":"8d635e59","224":"92df6615","225":"42ebc3fc","226":"009659c8","227":"1cd231d1","228":"9c0969be","229":"9150babf","230":"9bda9379","231":"8d16ba48","232":"ad4c8e76","233":"46a6a290","234":"b38fe790","235":"e026c583","236":"51e02191","237":"fc17182c","238":"cf33826a","239":"6e3fd6a7","240":"375a94a5","241":"a4ad5668","242":"3f703305","243":"0537446d","244":"3b9fda4a","245":"252c1f90","246":"95139bd1","247":"67155b66","248":"15c9028d","249":"251f9a9c","250":"4d28c8c4","251":"48dd3249","252":"5cead067","253":"a38088fa","254":"82920ffa","255":"5ca9976c","256":"01157ff4","257":"53934360","258":"41e7722d","259":"bec5cf59","260":"2008c623","261":"d2ddfd76","262":"60bc5846","263":"e9c72927","264":"545e8a7f","265":"af8eb09e","266":"2afc190b","267":"fb8fdd79","268":"d16ddbae","269":"69226c95","270":"23c1612b","271":"8d6b6380","272":"745f6b8b"}[chunkId] + ".chunk.js";
/******/ var timeout = setTimeout(onScriptComplete, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ function onScriptComplete() {

@ -66,7 +66,7 @@ class CoderRootDirectory extends Component{
const { projectsId } = this.props.match.params;
const { state } = this.props.history.location;
console.log(this.props);
const url = `/${state}/${projectsId}/entries.json`;
const url = `/${current_user && current_user.login}/${projectsId}/entries.json`;
axios.get((url),{
params:{
branch
@ -131,7 +131,7 @@ class CoderRootDirectory extends Component{
const { state } = this.props.history.location;
const url =`/${state}/${projectsId}/sub_entries.json`;
const url =`/${current_user && current_user.login}/${projectsId}/sub_entries.json`;
axios.get(url,{
params:{

@ -175,7 +175,7 @@ class Detail extends Component{
// const { state } = this.props.history.location;
const { current_user } = this.props
const { projectsId } = this.props.match.params;
const url = `/${current_user.login}/${projectsId}.json`;
const url = `/${current_user && current_user.login}/${projectsId}.json`;
axios.get(url).then((result)=>{
if(result){
this.setState({

Loading…
Cancel
Save