diff --git a/server/index.js b/server/index.js
index 9e65770d0..ec2480e30 100644
--- a/server/index.js
+++ b/server/index.js
@@ -10,7 +10,7 @@ app.use('/build', express.static('build'));
const options = (target) => {
return {
target: target,
- changeOrigin: false, // 允许在请求头中更改主机
+ changeOrigin: true, // 允许在请求头中更改主机
timeout: 30000,
};
}
diff --git a/src/common/UrlTool.js b/src/common/UrlTool.js
index 6630f8328..a0626b535 100644
--- a/src/common/UrlTool.js
+++ b/src/common/UrlTool.js
@@ -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
diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx
index 5e7cf22cb..ff5cea874 100644
--- a/src/forge/Main/CoderDepot.jsx
+++ b/src/forge/Main/CoderDepot.jsx
@@ -571,18 +571,18 @@ function CoderDepot(props){
})
}
{
- // fileInfo &&
- //
+ fileInfo &&
+
}