deploy vercel

This commit is contained in:
unknown 2025-06-05 01:56:36 +07:00
parent 9a90ea2742
commit 2c13d97669
2 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,11 @@ dotenv.config();
const app = express();
app.get("/", (req, res) => {
res.send("Backend API is running 👍");
});
// Middlewares
app.use(express.json());
app.use(cors());

View File

@ -11,7 +11,7 @@ const swaggerOptions = {
},
servers: [
{
url: 'http://localhost:5000',
url: '/',
description: 'Local Development Server sibayam',
},
],