Redis cache url added

This commit is contained in:
2024-10-14 10:39:24 +05:30
parent 2c29d3c9a9
commit 2af58df78f

View File

@ -12,5 +12,13 @@ module.exports = defineConfig({
jwtSecret: process.env.JWT_SECRET || "supersecret",
cookieSecret: process.env.COOKIE_SECRET || "supersecret",
}
},
modules: {
[Modules.CACHE]: {
resolve: "@medusajs/medusa/cache-redis",
options: {
redisUrl: process.env.CACHE_REDIS_URL,
},
},
}
})