Merge commit 'efec44cf965ae3b370c9e8187f068cbb65376865' into pre_gitlink_ssr

This commit is contained in:
黄心宇 2024-05-13 16:08:57 +08:00
commit aab276bef7
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ app.use('/build', express.static('build'));
const options = (target) => {
return {
target: target,
changeOrigin: true, // 允许在请求头中更改主机
changeOrigin: false, // 不允许在请求头中更改主机
timeout: 30000,
onProxyRes: (proxyRes, req, res) => {
// 代理成功后输出日志