Spaces:
Running
Running
Update hf.js
Browse files
hf.js
CHANGED
|
@@ -13,6 +13,7 @@ app.use('*', createProxyMiddleware({
|
|
| 13 |
pathRewrite: {
|
| 14 |
'^/hf/': '/',
|
| 15 |
},
|
|
|
|
| 16 |
}));
|
| 17 |
|
| 18 |
const port = process.env.HF_PORT || 7860;
|
|
|
|
| 13 |
pathRewrite: {
|
| 14 |
'^/hf/': '/',
|
| 15 |
},
|
| 16 |
+
changeOrigin: true
|
| 17 |
}));
|
| 18 |
|
| 19 |
const port = process.env.HF_PORT || 7860;
|