Update hf.js
Browse files
hf.js
CHANGED
@@ -8,7 +8,7 @@ app.use(morgan('combined'));
|
|
8 |
app.use('*', createProxyMiddleware({
|
9 |
target: 'http://localhost:3010',
|
10 |
pathRewrite: {
|
11 |
-
'
|
12 |
},
|
13 |
changeOrigin: true
|
14 |
}));
|
|
|
8 |
app.use('*', createProxyMiddleware({
|
9 |
target: 'http://localhost:3010',
|
10 |
pathRewrite: {
|
11 |
+
'/hf/v1/chat/completions': '/v1/chat/completions',
|
12 |
},
|
13 |
changeOrigin: true
|
14 |
}));
|