JiuZZZ commited on
Commit
54fb645
·
verified ·
1 Parent(s): 23a7154

Update hf.js

Browse files
Files changed (1) hide show
  1. hf.js +0 -3
hf.js CHANGED
@@ -7,9 +7,6 @@ app.use(morgan('combined'));
7
 
8
  app.use('*', createProxyMiddleware({
9
  target: 'http://localhost:3010',
10
- pathRewrite: {
11
- '/hf/v1/chat/completions': '/v1/chat/completions',
12
- },
13
  changeOrigin: true
14
  }));
15
 
 
7
 
8
  app.use('*', createProxyMiddleware({
9
  target: 'http://localhost:3010',
 
 
 
10
  changeOrigin: true
11
  }));
12