Skip to content

Commit

Permalink
ram
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiSriramKamineni committed Sep 1, 2024
1 parent e8f674d commit cc36dda
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions BLOGIFY-backend-main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ app.use(bodyParser.json({ limit: '30mb', extended: true }));
app.use(bodyParser.urlencoded({ limit: '30mb', extended: true }));

app.use(cors({
origin: 'https://blogify-mern-bwdy.vercel.app' // Removed the extra space
origin: 'https://blogify-mern-bwdy.vercel.app'
}));

app.use('/posts', postRoutes);
Expand All @@ -25,6 +25,6 @@ const PORT = process.env.PORT || 5000;
mongoose
.connect(process.env.CONNECTION_URL, { useNewUrlParser: true, useUnifiedTopology: true }) // Ensuring compatibility with new MongoDB driver
.then(() =>
app.listen(PORT, () => console.log(`Server running on port: ${PORT}`))
app.listen(PORT, () => console.log(Server running on port: ${PORT}))
)
.catch((error) => console.log(error.message));
.catch((error) => console.log(error.message));
2 changes: 1 addition & 1 deletion BLOGIFY-frontend-main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "client",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:5001",
"proxy": "https://blogify-mernbac.vercel.app",
"dependencies": {
"@reduxjs/toolkit": "^1.8.2",
"@testing-library/jest-dom": "^5.16.4",
Expand Down
Binary file added BLOGIFY-frontend-main/src/bgqw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BLOGIFY-frontend-main/src/bgx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc36dda

Please sign in to comment.