test
This commit is contained in:
parent
baeceb9c1e
commit
5b8fdbe958
|
|
@ -10,7 +10,7 @@ app.use('/build', express.static('build'));
|
|||
const options = (target) => {
|
||||
return {
|
||||
target: target,
|
||||
changeOrigin: false, // 允许在请求头中更改主机
|
||||
changeOrigin: true, // 允许在请求头中更改主机
|
||||
timeout: 30000,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ if (!__SERVER__) {
|
|||
}
|
||||
const isDev = __SERVER__ ? false : window.location.port == 3007;
|
||||
const isdev2= __SERVER__ ? false : window.location.hostname ==='www.educoder.net'
|
||||
export const TEST_HOST = "https://testforgeplus.trustie.net/"
|
||||
export const TEST_HOST = "https://testforgeplus.trustie.net"
|
||||
export function getImageUrl(path) {
|
||||
// https://www.educoder.net
|
||||
// https://testbdweb.trustie.net
|
||||
|
|
|
|||
|
|
@ -571,18 +571,18 @@ function CoderDepot(props){
|
|||
})
|
||||
}
|
||||
{
|
||||
// fileInfo &&
|
||||
// <CoderRootFileDetail
|
||||
// {...props}
|
||||
// detail={fileInfo}
|
||||
// readOnly={readOnly}
|
||||
// md={mdFlag}
|
||||
// onEdit={onEdit}
|
||||
// currentBranch={branchName || defaultBranch}
|
||||
// branch={branchName || defaultBranch}
|
||||
// type={projectDetail.type}
|
||||
// treeValuePath={treeValuePath}
|
||||
// ></CoderRootFileDetail>
|
||||
fileInfo &&
|
||||
<CoderRootFileDetail
|
||||
{...props}
|
||||
detail={fileInfo}
|
||||
readOnly={readOnly}
|
||||
md={mdFlag}
|
||||
onEdit={onEdit}
|
||||
currentBranch={branchName || defaultBranch}
|
||||
branch={branchName || defaultBranch}
|
||||
type={projectDetail.type}
|
||||
treeValuePath={treeValuePath}
|
||||
></CoderRootFileDetail>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue