redis url
This commit is contained in:
parent
2af58df78f
commit
247bd87a44
@ -1,6 +1,7 @@
|
||||
const { loadEnv, defineConfig } = require('@medusajs/framework/utils')
|
||||
const { loadEnv, defineConfig } = require("@medusajs/framework/utils");
|
||||
const { Modules } = require("@medusajs/framework/utils");
|
||||
|
||||
loadEnv(process.env.NODE_ENV, process.cwd())
|
||||
loadEnv(process.env.NODE_ENV, process.cwd());
|
||||
|
||||
module.exports = defineConfig({
|
||||
projectConfig: {
|
||||
@ -11,7 +12,7 @@ module.exports = defineConfig({
|
||||
authCors: process.env.AUTH_CORS,
|
||||
jwtSecret: process.env.JWT_SECRET || "supersecret",
|
||||
cookieSecret: process.env.COOKIE_SECRET || "supersecret",
|
||||
}
|
||||
},
|
||||
},
|
||||
modules: {
|
||||
[Modules.CACHE]: {
|
||||
@ -20,5 +21,5 @@ module.exports = defineConfig({
|
||||
redisUrl: process.env.CACHE_REDIS_URL,
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
},
|
||||
});
|
||||
|
@ -53,4 +53,4 @@
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user