Spaces:
Runtime error
Runtime error
DeFactOfficial
commited on
Update api.js
Browse files
api.js
CHANGED
@@ -61,8 +61,9 @@ app.get('/api/image', async (req, res) => {
|
|
61 |
} catch (error) {
|
62 |
res.status(500).json({ error: 'Image serving failed', message: error.message });
|
63 |
}
|
64 |
-
})
|
65 |
-
|
|
|
66 |
app.listen(PORT, () => {
|
67 |
console.log(`API server running on port ${PORT}`);
|
68 |
});
|
|
|
61 |
} catch (error) {
|
62 |
res.status(500).json({ error: 'Image serving failed', message: error.message });
|
63 |
}
|
64 |
+
});*/
|
65 |
+
|
66 |
+
|
67 |
app.listen(PORT, () => {
|
68 |
console.log(`API server running on port ${PORT}`);
|
69 |
});
|