Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -401,7 +401,7 @@ app.post('/generate2', async (req, res) => {
|
|
| 401 |
|
| 402 |
|
| 403 |
// Mulai server Express
|
| 404 |
-
app.listen(port, () => {
|
| 405 |
console.log(`Server berjalan di http://localhost:${port}`);
|
| 406 |
await utils.initialize();
|
| 407 |
});
|
|
|
|
| 401 |
|
| 402 |
|
| 403 |
// Mulai server Express
|
| 404 |
+
app.listen(port, async () => {
|
| 405 |
console.log(`Server berjalan di http://localhost:${port}`);
|
| 406 |
await utils.initialize();
|
| 407 |
});
|