fix:memperbarui app dan swager

This commit is contained in:
unknown 2025-06-16 23:50:29 +07:00
parent 5c2a2fc21d
commit f8cdf405bb
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ initializeDatabase()
.then(() => { .then(() => {
app.listen(PORT, () => { app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`); console.log(`Server running on port ${PORT}`);
console.log(`Swagger UI available at http://202.74.74.214/api-sibayam/docs`); console.log(`Swagger UI available at http://localhost:${PORT}/api-sibayam`);
}); });
}) })
.catch((error) => { .catch((error) => {

View File

@ -11,7 +11,7 @@ const swaggerOptions = {
}, },
servers: [ servers: [
{ {
url: 'http://202.74.74.214/', // Development server URL url: 'https://localhost:5000', // Development server URL
description: 'Production Server' description: 'Production Server'
}, },
], ],