mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-22 09:35:11 +00:00
added test scripts and github worklow for tests.
This commit is contained in:
@@ -177,6 +177,8 @@ app.get('*', (req, res) => {
|
||||
res.status(404).json({ error: 'Not found', hint: 'Go to /' });
|
||||
});
|
||||
|
||||
app.listen(PORT, () => {
|
||||
export const server = app.listen(PORT, () => {
|
||||
console.log(`Server is running on port http://localhost:${PORT}`);
|
||||
});
|
||||
});
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user