Redis cache url added
This commit is contained in:
@ -12,5 +12,13 @@ module.exports = defineConfig({
|
|||||||
jwtSecret: process.env.JWT_SECRET || "supersecret",
|
jwtSecret: process.env.JWT_SECRET || "supersecret",
|
||||||
cookieSecret: process.env.COOKIE_SECRET || "supersecret",
|
cookieSecret: process.env.COOKIE_SECRET || "supersecret",
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
modules: {
|
||||||
|
[Modules.CACHE]: {
|
||||||
|
resolve: "@medusajs/medusa/cache-redis",
|
||||||
|
options: {
|
||||||
|
redisUrl: process.env.CACHE_REDIS_URL,
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user