فهرست منبع

chore: Disable redis by default

olivermrbl 2 سال پیش
والد
کامیت
2262dfa4f7
1فایلهای تغییر یافته به همراه2 افزوده شده و 4 حذف شده
  1. 2 4
      medusa-config.js

+ 2 - 4
medusa-config.js

@@ -68,10 +68,8 @@ const projectConfig = {
   database_type: DATABASE_TYPE,
   database_type: DATABASE_TYPE,
   store_cors: STORE_CORS,
   store_cors: STORE_CORS,
   admin_cors: ADMIN_CORS,
   admin_cors: ADMIN_CORS,
-}
-
-if (REDIS_URL) {
-  projectConfig.redis_url = REDIS_URL;
+  // Uncomment the following lines to enable REDIS
+  // redis_url = REDIS_URL
 }
 }
 
 
 if (DATABASE_URL && DATABASE_TYPE === "postgres") {
 if (DATABASE_URL && DATABASE_TYPE === "postgres") {