Spaces:
Paused
Paused
Update hf.js
Browse files
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 |
|