We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20edd71 commit fd37929Copy full SHA for fd37929
2 files changed
backend/src/app.js
@@ -13,7 +13,7 @@ dotenv.config();
13
connectDB();
14
15
const app = express();
16
-const PORT = process.env.PORT || 5050;
+const PORT = process.env.PORT || 5000;
17
18
// Middleware
19
app.use(cors());
frontend/src/lib/api.js
@@ -1,6 +1,6 @@
1
// API utility functions for connecting frontend to backend
2
3
-const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:5050/api';
+const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || 'https://glow-backend-v4-0-0.onrender.com/api';
4
5
// Generic API call function
6
async function apiCall(endpoint, options = {}) {
0 commit comments