deploy vercel
This commit is contained in:
parent
9a90ea2742
commit
2c13d97669
|
|
@ -18,6 +18,11 @@ dotenv.config();
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
|
app.get("/", (req, res) => {
|
||||||
|
res.send("Backend API is running 👍");
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// Middlewares
|
// Middlewares
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
app.use(cors());
|
app.use(cors());
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ const swaggerOptions = {
|
||||||
},
|
},
|
||||||
servers: [
|
servers: [
|
||||||
{
|
{
|
||||||
url: 'http://localhost:5000',
|
url: '/',
|
||||||
description: 'Local Development Server sibayam',
|
description: 'Local Development Server sibayam',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue