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