ninomae1001 commited on
Commit
fcae6a7
1 Parent(s): 37223a2

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -3,7 +3,7 @@ const { createProxyMiddleware } = require('http-proxy-middleware');
3
 
4
  const app = express();
5
 
6
- app.use('/proxy', createProxyMiddleware({
7
  target: 'http://www.baidu.com',
8
  changeOrigin: true,
9
  pathRewrite: {
 
3
 
4
  const app = express();
5
 
6
+ app.use('/', createProxyMiddleware({
7
  target: 'http://www.baidu.com',
8
  changeOrigin: true,
9
  pathRewrite: {