Update hf.js
Browse files
hf.js
CHANGED
@@ -3,7 +3,7 @@ const morgan = require('morgan');
|
|
3 |
const { createProxyMiddleware } = require('http-proxy-middleware');
|
4 |
const app = express();
|
5 |
|
6 |
-
app.use(morgan('
|
7 |
|
8 |
app.use('/hf/v1/chat/completions', createProxyMiddleware({
|
9 |
target: 'http://localhost:3010/v1/chat/completions',
|
|
|
3 |
const { createProxyMiddleware } = require('http-proxy-middleware');
|
4 |
const app = express();
|
5 |
|
6 |
+
app.use(morgan('dev'));
|
7 |
|
8 |
app.use('/hf/v1/chat/completions', createProxyMiddleware({
|
9 |
target: 'http://localhost:3010/v1/chat/completions',
|