cont.
This commit is contained in:
parent
771a2ba19a
commit
a6e3aea2c3
|
@ -7,7 +7,7 @@ const app = express();
|
|||
|
||||
app.use('/build', express.static('build'));
|
||||
|
||||
const targetServer = 'https://www.gitlink.org.cn'; // Java 服务器的地址
|
||||
const targetServer = 'http://localhost:4000'; // Java 服务器的地址
|
||||
const options = {
|
||||
target: targetServer,
|
||||
changeOrigin: true, // 允许在请求头中更改主机
|
||||
|
|
Loading…
Reference in New Issue