deploy vercel
This commit is contained in:
parent
9a90ea2742
commit
2c13d97669
|
@ -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());
|
||||
|
|
|
@ -11,7 +11,7 @@ const swaggerOptions = {
|
|||
},
|
||||
servers: [
|
||||
{
|
||||
url: 'http://localhost:5000',
|
||||
url: '/',
|
||||
description: 'Local Development Server sibayam',
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue