✨ feat(account, order, plan, profile, redis): enhance functionality and security
- Updated CORS settings for frontend compatibility. - Integrated Redis URL configuration. - Improved login response structure in account service. - Added role-based authorization for order and plan management. - Enhanced error handling and logging in profile and plan services. - Updated Swagger documentation for clarity on order statuses. - Configured Redis connection for better performance.
This commit is contained in:
Vendored
+2
-2
@@ -24,8 +24,8 @@ export const swaggerOptions = {
|
||||
...supportSwaggerDocs,
|
||||
},
|
||||
servers: configs.env === "production"
|
||||
? [{ url: "https://live-url.com" }, { url: "http://localhost:5000" }]
|
||||
: [{ url: "http://localhost:5000" }, { url: "https://live-url.com" }],
|
||||
? [{ url: "https://quicklunch-server.onrender.com" }, { url: "http://localhost:5000" }]
|
||||
: [{ url: "http://localhost:5000" }, { url: "https://quicklunch-server.onrender.com" }],
|
||||
components: {
|
||||
securitySchemes: {
|
||||
AuthorizationToken: {
|
||||
|
||||
Reference in New Issue
Block a user