module file local server now has the right backendUrl

This commit is contained in:
Amritanshu Agrawal 2024-10-16 14:58:34 +05:30
parent 7aa9491246
commit da100fcfb5

View File

@ -31,12 +31,25 @@ module.exports = defineConfig({
redisUrl: process.env.CACHE_REDIS_URL,
},
},
// [Modules.WORKFLOW_ENGINE]: {
// resolve: "@medusajs/workflow-engine-redis",
// options: {
// redis: {
// url: process.env.CACHE_REDIS_URL,
// },
// },
// },
[Modules.WORKFLOW_ENGINE]: {
resolve: "@medusajs/workflow-engine-redis",
options: {
redis: {
url: process.env.CACHE_REDIS_URL,
},
redisurl: process.env.CACHE_REDIS_URL,
},
},
[Modules.FILE]: {
resolve: "@medusajs/medusa/file-local-next",
id: "local",
options: {
backendUrl: process.env.MEDUSA_BACKEND_URL,
},
},
},