Skip to content

Commit

Permalink
Update api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenilk committed Apr 30, 2023
1 parent 7575af0 commit a6c61cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
const express = require("express");
const mongoose = require("mongoose");
const app = express();
const port = 3000;
const port = 3000 || process.env.PORT;
var bodyParser = require('body-parser');
mongoose.connect("mongodb+srv://Lenilk:[email protected]/Refrigurator");
const databased = mongoose.connection;
Expand Down

1 comment on commit a6c61cb

@vercel
Copy link

@vercel vercel bot commented on a6c61cb Apr 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

refrigurator-api – ./

refrigurator-api-lenilk.vercel.app
refrigurator-api-git-main-lenilk.vercel.app
refrigurator-api.vercel.app

Please sign in to comment.