Spaces:
Sleeping
Sleeping
Update server.js
Browse files
server.js
CHANGED
|
@@ -49,7 +49,7 @@ app.post("/ocr", async (req, res) => {
|
|
| 49 |
}
|
| 50 |
});
|
| 51 |
|
| 52 |
-
const PORT = process.env.PORT ||
|
| 53 |
-
app.listen(PORT,
|
| 54 |
console.log(`🚀 OCR server running on http://0.0.0.0:${PORT}`);
|
| 55 |
});
|
|
|
|
| 49 |
}
|
| 50 |
});
|
| 51 |
|
| 52 |
+
const PORT = process.env.PORT || 7860;
|
| 53 |
+
app.listen(PORT, '0.0.0.0', () => {
|
| 54 |
console.log(`🚀 OCR server running on http://0.0.0.0:${PORT}`);
|
| 55 |
});
|