Spaces:
Paused
Paused
Upload folder using huggingface_hub
Browse files- server.cjs +1 -1
server.cjs
CHANGED
|
@@ -9,7 +9,7 @@ app.get('/health', (req, res) => {
|
|
| 9 |
res.status(200).send('OK');
|
| 10 |
});
|
| 11 |
|
| 12 |
-
app.
|
| 13 |
res.sendFile(path.join(__dirname, 'dist', 'index.html'));
|
| 14 |
});
|
| 15 |
|
|
|
|
| 9 |
res.status(200).send('OK');
|
| 10 |
});
|
| 11 |
|
| 12 |
+
app.use((req, res) => {
|
| 13 |
res.sendFile(path.join(__dirname, 'dist', 'index.html'));
|
| 14 |
});
|
| 15 |
|