Spaces:
Sleeping
Sleeping
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 |
-
'^/hf
|
12 |
},
|
13 |
changeOrigin: true
|
14 |
}));
|
|
|
8 |
app.use('*', createProxyMiddleware({
|
9 |
target: 'http://localhost:3010',
|
10 |
pathRewrite: {
|
11 |
+
'^/hf': '',
|
12 |
},
|
13 |
changeOrigin: true
|
14 |
}));
|