Skip to content

Commit

Permalink
updated backend url
Browse files Browse the repository at this point in the history
  • Loading branch information
sreecharan-desu committed Dec 7, 2024
1 parent e15961e commit 5d6190e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VITE_API_URL=https://your-backend-url/api
VITE_API_URL=https://rex-api-tau.vercel.app/api
VITE_APP_ENV=production
VITE_ENABLE_LOGS=false
2 changes: 1 addition & 1 deletion client/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"outputDirectory": "dist",
"framework": "vite",
"env": {
"VITE_API_URL": "https://your-backend-url/api"
"VITE_API_URL": "https://rex-api-tau.vercel.app/api"
}
}
2 changes: 1 addition & 1 deletion server/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const CONFIG = {
JWT_EXPIRES_IN: process.env.JWT_EXPIRES_IN || '7d',

// CORS
CORS_ORIGIN: process.env.CORS_ORIGIN || 'http://localhost:5173',
CORS_ORIGIN: process.env.CORS_ORIGIN || 'https://sreesrex.vercel.app',

// Rate Limiting
RATE_LIMIT_ENABLED: process.env.RATE_LIMIT_ENABLED === 'true',
Expand Down

0 comments on commit 5d6190e

Please sign in to comment.