✨ 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
+7
-4
@@ -1,4 +1,7 @@
|
||||
export const redisConnection = {
|
||||
host: "127.0.0.1",
|
||||
port: 6379,
|
||||
};
|
||||
import { Redis } from "ioredis";
|
||||
import { configs } from "../configs/index.js";
|
||||
export const redisConnection = new Redis(configs.redis_url, {
|
||||
tls: {},
|
||||
maxRetriesPerRequest: null,
|
||||
enableReadyCheck: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user