JiuZZZ commited on
Commit
81b8bba
·
verified ·
1 Parent(s): f7d533f

Update hf.js

Browse files
Files changed (1) hide show
  1. hf.js +1 -1
hf.js CHANGED
@@ -5,7 +5,7 @@ const app = express();
5
 
6
  app.use(morgan('combined'));
7
 
8
- app.use('/hf/v1/chat/completions', createProxyMiddleware({
9
  target: 'http://localhost:3010/v1/chat/completions',
10
  changeOrigin: true
11
  }));
 
5
 
6
  app.use(morgan('combined'));
7
 
8
+ app.use('/v1/chat/completions', createProxyMiddleware({
9
  target: 'http://localhost:3010/v1/chat/completions',
10
  changeOrigin: true
11
  }));